[wp-trac] [WordPress Trac] #22541: Media icon doesn't work in distraction free writing mode

WordPress Trac noreply at wordpress.org
Tue Nov 27 10:34:06 UTC 2012


#22541: Media icon doesn't work in distraction free writing mode
--------------------------+--------------------------
 Reporter:  ericmann      |       Owner:  koopersmith
     Type:  defect (bug)  |      Status:  reviewing
 Priority:  normal        |   Milestone:  3.5
Component:  Media         |     Version:  trunk
 Severity:  blocker       |  Resolution:
 Keywords:  has-patch     |
--------------------------+--------------------------

Comment (by koopersmith):

 Replying to [comment:6 lessbloat]:
 > Side note: The following styles also have a z-index greater than 160000:

 Any reason why we're using 160000 in particular?


 Replying to [comment:8 azaozz]:
 > > - .wp-full-overlay - set to 500000
 > > - #customize-container - set to 500000
 > Thinking these are ok, the customizer should be higher than the media
 modal?

 Using media inside the customizer is a valid use case. If the customizer
 is using customize-loader and is injected over the content using an
 iframe, the iframe should be positioned above any media modal on the outer
 page. However, the media modal should be able to work inside
 customize.php, which (unfortunately) currently applies `.wp-full-overlay`
 to the main containing `<div>`. We should either lower the z-index
 entirely, or just on customize.php using customize-controls.css.

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


More information about the wp-trac mailing list