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 closeOnClickOutside not working #2458
Comments
Indeed it is caused by setting the |
Yep, noticed this too. You can even see it in the docs for Modal. This specific example actually soft locks the page because |
A fix is to set the |
Fixed in 5.3.3 |
I think bug is back at least on 5.9.5 |
What package has an issue
@mantine/core
Describe the bug
closeOnClickOutside is no longer working for the Modal component.
Perhaps caused by this bug fix?
92305e2
What version of @mantine/hooks page do you have in package.json?
5.3.2
If possible, please include a link to a codesandbox with the reproduced problem
https://codesandbox.io/s/mantine-modal-closeonclickoutside-bug-f12rek
Do you know how to fix the issue
No
The text was updated successfully, but these errors were encountered: