After updating to vaul@^1.1.2, opening a modal containing a dynamic createResponsiveWrapper causes the drawer to open without animation, and clicking inside it triggers it to reopen.
Steps to reproduce:
- Use a modal that includes a dynamic
createResponsiveWrapper.
- Open the modal.
- Notice the drawer opens instantly (no animation).
- Click inside the drawer — it reopens.
Expected behavior:
The drawer should animate normally and remain stable when interacted with.
Environment:
- vaul: ^1.1.2
- Framework: Next.js 16 / React 19
- UI Library: shadcn/ui
After updating to
vaul@^1.1.2, opening a modal containing a dynamiccreateResponsiveWrappercauses the drawer to open without animation, and clicking inside it triggers it to reopen.Steps to reproduce:
createResponsiveWrapper.Expected behavior:
The drawer should animate normally and remain stable when interacted with.
Environment: