Skip to content

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