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

Modal gets closed when mouse is released outside the modal #35

Open
hademo opened this issue Feb 20, 2021 · 1 comment
Open

Modal gets closed when mouse is released outside the modal #35

hademo opened this issue Feb 20, 2021 · 1 comment

Comments

@hademo
Copy link

hademo commented Feb 20, 2021

Reproduction:

Make a left click on a text inside of the modal and do not release the click. Move the mouse outside the modal, then the modal is closed, instead of remaining opened.
-->

Suggested solution:

Remove the onMouseRelease event on the drawer and only fire the closing event of the modal, when the drawer is clicked

@roachadam
Copy link

anyone please tell me how to fix this :)

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

No branches or pull requests

2 participants