v-bottom-sheet
has no events?
#12047
Replies: 2 comments 1 reply
-
Please only create issues with the provided issue creator. In the boilerplate for creating an issue, it explains that any ticket made without this will be automatically closed. For general questions, please join the Discord chat room. You can also check reddit or stackoverflow. Thank you. |
Beta Was this translation helpful? Give feedback.
-
You shouldn't use that to detect if it's been closed though, they can be closed with the escape key too. VBottomSheet is literally just a dialog with some extra css, so it should support all the same events.
Older versions of Vue didn't have |
Beta Was this translation helpful? Give feedback.
-
Documentation for
v-bottom-sheet
shows no available events.As such, it's unclear how to programmatically dismiss a bottom sheet when clicked outside. Surely, the
v-model
@input
event isn't being thwarted to capture clicking outside the bottom sheet. If so, that's an absolutely horrifying API choice, as@input
describes nearly the exact opposite of the behavior we're capturing (clicking outside).v-menu
andv-dialog
support@click:outside
, butv-bottom-sheet
doesn't? Are all bottom sheets modal/undismissable by design? If so, I would argue they definitely shouldn't be. Clicking outside a bottom sheet should behave identically to clicking outside a menu or dialog.To summarize:
v-bottom-sheet
when clicked outside?v-bottom-sheet
support@click:outside
, likev-menu
andv-dialog
?Beta Was this translation helpful? Give feedback.
All reactions