[wp-trac] [WordPress Trac] #29074: Disable background page scrolling when modals are open

WordPress Trac noreply at wordpress.org
Wed Jul 30 21:14:51 UTC 2014


#29074: Disable background page scrolling when modals are open
------------------------------+-------------------------
 Reporter:  celloexpressions  |      Owner:
     Type:  defect (bug)      |     Status:  new
 Priority:  normal            |  Milestone:  4.0
Component:  General           |    Version:
 Severity:  normal            |   Keywords:  needs-patch
  Focuses:  ui                |
------------------------------+-------------------------
 For everything ranging from media modal/grid-details, to plugin install,
 and pretty much anywhere where the modal prevents interacting with the
 background page. Can use a common `modal-open` class to set body to
 overflow: hidden.

 Themes already does this.

 I'm working on a patch. If someone could make a list of modals where we
 should do this, that would be good. So far, have:
 - Media modal
 - Media grid attachment details modal
 - Plugin details modal

--
Ticket URL: <https://core.trac.wordpress.org/ticket/29074>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list