Skip to content

Conversation

builtbybrayne
Copy link

If an event handler is set via delegation on a parent container, as the modal is technically still a child of that container, the close action can lead to an undesirable bubbling. This commit fixes that by adding preventDefault and return false protection to all click events.

…he modal is technically still a child of that container, the close action can lead to an undesirable bubbling. This commit fixes that by adding preventDefault and return false protection to all click events.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant