[wp-trac] [WordPress Trac] #29909: Scrolling beneath modals bad experience on mobile

WordPress Trac noreply at wordpress.org
Fri Oct 10 12:22:27 UTC 2014


#29909: Scrolling beneath modals bad experience on mobile
--------------------------+------------------------------
 Reporter:  obenland      |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Editor        |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  flow          |     Focuses:
--------------------------+------------------------------

Comment (by afercia):

 Sorry I can't test on mobile browsers but what about to use `position:
 fixed` for just mobiles?
 http://stackoverflow.com/questions/14270084/overflow-xhidden-doesnt-
 prevent-content-from-overflowing-in-mobile-browsers


 {{{
 body.mobile.modal-open {
         position: fixed !important;
 }
 }}}

 needs to override the inline `position: relative` though.

 Also, this "modal-open" class should be used for all modals, not just the
 media ones.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/29909#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list