[wp-trac] [WordPress Trac] #31610: Scroll bleed in the session expired log in modal on iOS

WordPress Trac noreply at wordpress.org
Sun Mar 29 17:16:01 UTC 2015


#31610: Scroll bleed in the session expired log in modal on iOS
----------------------------------------------+----------------------------
 Reporter:  ryan                              |       Owner:
     Type:  defect (bug)                      |      Status:  new
 Priority:  high                              |   Milestone:  4.2
Component:  Login and Registration            |     Version:  trunk
 Severity:  normal                            |  Resolution:
 Keywords:  make-flow has-patch dev-feedback  |     Focuses:  ui,
                                              |  javascript
----------------------------------------------+----------------------------
Changes (by adamsilverstein):

 * keywords:  make-flow => make-flow has-patch dev-feedback
 * focuses:  ui => ui, javascript


Comment:

 In [attachment:31610.diff]:
 * When session expired modal opens, add the 'modal-open' class to the
 body, triggering overflow:hidden style on body, preventing background
 scrolling via swipe
 * When modal is closed, remove 'modal-open' class

 Tested on Chrome debugger and background no longer scrolls.

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


More information about the wp-trac mailing list