Open thibaudbrault opened 5 months ago
try to add high z-index to the div wraper of the button
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