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
It's possible the drawer thinks it is getting "dragged" enough and triggers the close. You could also try adding the [data-vaul-no-drag] attribute to the buttons and see if that helps.
Describe the bug
I have a Drawer with multiple buttons inside it. None of them are programmed to close the drawer but when I click on any of them the drawer closes.
Reproduction
Here's my code (+page.svelte):
And the child component that contains the drawer content (player.svelte):
None of the buttons change the value of
$isDrawerOpen
so I don't understand why it still closes the drawer.Logs
No response
System Info
Severity
annoyance
The text was updated successfully, but these errors were encountered: