Trigger event when dismissable is false and dismiss is attempted #168
codydorsettlynn
started this conversation in
Ideas
Replies: 1 comment
-
Event would trigger once per tap on the dimmed area, and once per drag below min index if using the grabber (since |
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
Uh oh!
There was an error while loading. Please reload this page.
-
I have a use case where I would like a user to be able to dismiss the sheet but may have entered a lot of information that will be lost in doing so.
I would like to have the behavior of
dismissable=false
but have an event fire when they try to dismiss (by drag or tapping the dimmed area) which I can use to fire an Alert to confirm the action.See the below code as an example of what I would like to do.
Beta Was this translation helpful? Give feedback.
All reactions