Skip to content
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

fix: stop propagation when clicking on the menu #26

Merged
merged 2 commits into from
Jul 28, 2020
Merged

fix: stop propagation when clicking on the menu #26

merged 2 commits into from
Jul 28, 2020

Conversation

Tchoupinax
Copy link
Contributor

Hello,

My use case is the following: when I click on the menu item, it opens a modal which is composed of a opaque div which takes all the screen. This modal is closed when I click on the background. So, Without stoping the propagation the div is closed immediatly when i click on the item. This fix is good :)

Thank you for your work !

@johndatserakis johndatserakis merged commit 8c8604c into johndatserakis:master Jul 28, 2020
@johndatserakis
Copy link
Owner

johndatserakis commented Jul 28, 2020

Ok cool, yea I think this change is ok and shouldn't affect any current usage. Merging now, and I'll have a new version up soon.

Thank you!

@Tchoupinax
Copy link
Contributor Author

You're welcome :)

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.

2 participants