-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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(Modal): do not close when mouse click was occurred inside #3582
fix(Modal): do not close when mouse click was occurred inside #3582
Conversation
💖 Thanks for opening this pull request! 💖 Here is a list of things that will help get it across the finish line:
We get a lot of pull requests on this repo, so please be patient and we will get back to you as soon as we can. |
Codecov Report
@@ Coverage Diff @@
## master #3582 +/- ##
==========================================
+ Coverage 99.81% 99.81% +<.01%
==========================================
Files 174 174
Lines 2737 2743 +6
==========================================
+ Hits 2732 2738 +6
Misses 5 5
Continue to review full report at Codecov.
|
It looks like #3575 could use the same change as well. |
I'm not sure if changing the tests from |
@mihai-dinculescu I will update this PR to match yours tomorrow. |
Thanks for fixing this issue. Do you have any idea on when we can expect this fix to be pushed to npm ? |
I think that we will finally make a release on this week 🎉 |
…ic-Org#3582) * Update Modal.js * fix spec * match Popup PR * Update Modal.js
The default modal closes when:
This can be reproduced in the first example
https://react.semantic-ui.com/modules/modal/
This change will only close the Modal if the click starts and ends in the dimmer.