You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use the prevent-close prop to disable the outside click alongside the esc keyboard shortcut. A close-prevented event will be emitted when the user tries to close the modal.
Use the prevent-close prop to prevent the Modal from being closed when clicking outside of it.
I'd like to have similar behavior in v3 as in v2, i.e. being able to prevent closing the modal (by any means) but being able to capture and handle this event on my own.
Additional context
No response
The text was updated successfully, but these errors were encountered:
For what version of Nuxt UI are you suggesting this?
v3-alpha
Description
In v2 (https://ui.nuxt.com/components/modal#prevent-close):
In v3 (https://ui3.nuxt.dev/components/modal#prevent-close):
I'd like to have similar behavior in v3 as in v2, i.e. being able to prevent closing the modal (by any means) but being able to capture and handle this event on my own.
Additional context
No response
The text was updated successfully, but these errors were encountered: