[wp-trac] [WordPress Trac] #18796: thickbox.css needs display:none

WordPress Trac wp-trac at lists.automattic.com
Thu Sep 29 20:38:59 UTC 2011


#18796: thickbox.css needs display:none
--------------------------------+------------------
 Reporter:  OoroonBai           |       Owner:
     Type:  defect (bug)        |      Status:  new
 Priority:  normal              |   Milestone:  3.3
Component:  External Libraries  |     Version:  3.3
 Severity:  normal              |  Resolution:
 Keywords:  thickbox has-patch  |
--------------------------------+------------------

Comment (by OoroonBai):

 Replying to [comment:4 SergeyBiryukov]:
 > But then I've noticed there's a small delay before `#TB_window` fully
 opens, leading to overlapping for some part of a second (see the
 screenshot).
 >
 > [attachment:18796.2.patch] switches the remaining `display` references
 to `visibility`. Looks like the delay is not happening in that case.

 Do you try '.show()' instead of 'viibility' or 'display'? Maybe this fix
 your problem with overlapping.

 [attachment:thickbox.18796.patch] restore 'display: none' and replace
 '.css('display', 'block')' with '.show()'.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/18796#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list