Opened 9 years ago

Closed 9 years ago

#9670 closed feature (plugin)

Modal dialog enhancement to prevent scrolling of parent window

Reported by: andrew.cheong Owned by:
Priority: minor Milestone: none
Component: ui.dialog Version: 1.10.3
Keywords: Cc:
Blocked by: Blocking:


At the moment, "modal" dialogs allow the parent window to be scrolled by either using PageUp/PageDown, the mouse wheel, or by using the scrollbar.

In my opinion, no scrolling of the main window should be allowed since the modal dialog should be the focus of the users attention and everything else should not be able to be interacted with.

Change History (2)

comment:1 Changed 9 years ago by tj.vantoll

Hi andrew.cheong,

Thanks for taking the time to contribute to jQuery UI. In my opinion this is not a good idea as the user may need to scroll to see something behind the dialog.

You can easily implement this sort of thing as an extension. This takes care of your scroll bar criteria -

comment:2 Changed 9 years ago by Scott González

Resolution: plugin
Status: newclosed

I agree with tj.vantoll. Native dialogs (HTML5) don't prevent scrolling either.

Note: See TracTickets for help on using tickets.