Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 314089

Disable body-level scrolling when a dialog is open as a modal

$
0
0

When a dialog is opened with the "modal" option, all other elements on the page are hypothetically disabled. Even though those other elements are masked, you can still scroll-through the modal to the body, which is awkward and not expected behavior. This can lead to the user being confused after closing a modal as the page has scrolled past where they initiated the modal originally.

This patch disables body-level scrolling when a dialog is opened as a modal, which should address this problem.


Viewing all articles
Browse latest Browse all 314089

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>