Replies: 3 comments
-
An onBeforeClose event would be useful in which you could do your own checks and then stop the closing. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Why not just add a prop for this? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In some cases it would be preferable to lock the state of the modal to reduce the risk of a user losing data (Ex. form in modal). Can you add a prop that allows you to disable close when clicking anywhere in the overlay, perhaps even disabled the keyboard (esc) shortcut?
Beta Was this translation helpful? Give feedback.
All reactions