-
Notifications
You must be signed in to change notification settings - Fork 4.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
modal dialogs should prevent the background from being scrolleable #1625
Comments
+1, additionally the background text should not be selectable when being in the process of selecting text in the dialog and leaving its borders |
+1 |
+1 |
Did this get added in 4.1.0? I still get the page scrolling in the background when scrolling the dialog with modal set to true. |
To add to this issue, with modal=true you can Tab over inputs in the background and then edit their values. |
As others have stated there still seems to be issues with this. I've got a dropdown in my modal dialog and the page in the background is still scrollable and completely messes up the rendering of the dropdown if you scroll outside of the modal. |
This feature is undocumented for some reason. But you can block For example:
|
Thanks @TheAvalanche |
Using |
In IOS devices still scrolls the body, same using |
Using Ultima theme.
If we have a modal dialog then the background should not be scrollable when the dialog is visible.
If you could just add a 'modal-dialog-visible' class to the body this would sort the issue out.
The text was updated successfully, but these errors were encountered: