vaul icon indicating copy to clipboard operation
vaul copied to clipboard

Is there a way to not block the inputs outside the modal?

Open Blankeos opened this issue 1 year ago • 2 comments

I'm trying to use Vaul as a bottom-sheet that sticks to the bottom whilst also being able to interact with the DOM elements behind it. Is this possible?

Some usecases. I guess something that's featured on emilkowalski's website: https://emilkowal.ski/ui/building-a-drawer-component

Video: https://emilkowal.ski/vaul-post/apple-maps.mp4

Blankeos avatar Jan 17 '24 16:01 Blankeos

Setting modal to false in Drawer.Root doesn't solve this??

KevinGrajeda avatar Jan 21 '24 20:01 KevinGrajeda

I believe there is currently a bug (which I'm about to file and fix) w non-modal. By not "also being able to interact with the DOM elements", do you mean that the drawer closes on (some) mouse clicks?

#332 Should fix this.

artemis-prime avatar Apr 23 '24 23:04 artemis-prime