Skip to content

Dialog: Modified creation of overlay to bind events to the overlay rather than the document object. Fixed #4671 - Modal Dialog disables vertical scroll bar in Chrome & Safari #311

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

Closed
wants to merge 1 commit into from

Conversation

kborchers
Copy link
Member

Dialog: Modified creation of overlay to bind events to the overlay rather than the document object. Fixed #4671 - Modal Dialog disables vertical scroll bar in Chrome & Safari

This commit corrects the issues with my previous attempt at fixing this bug. It now applies to all instances and no longer uses this incorrectly within the setTimeout().

…ther than the document object. Fixed #4671 - Modal Dialog disables vertical scroll bar in Chrome & Safari
@scottgonzalez
Copy link
Member

Also review #7051 when reviewing this.

@scottgonzalez
Copy link
Member

This is looping through all overlays each time a new one is created and binding additional event handlers. The handlers should only be bound once per overlay. It's probably worth waiting until the new design for overlays is figured out in a few weeks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants