Last Updated: 31 Mar 2023 05:32 by ADMIN
Created on: 24 Mar 2023 09:40
Category: Dialog
Type: Feature Request
Disable page scrolling when Dialog or Window is opened
Please disable page scrolling while the modal Dialog/Window is open. Some users may find the ability to scroll the background content confusing.
1 comment
Posted on: 24 Mar 2023 15:19

Nearly every other UI framework has established disabling scroll of the page as the user's focus is the current dialog or window that is opened.

You can see this in various examples listed below:

As such I would expect the same behavior as this in my experience is the industry norm.

-----ADMIN EDIT-----

As a possible alternative, to disable the modal window background scroll, you can use the following conditional CSS:

        body {
            overflow: hidden;