Skip to content

Drawer reopens and loses animation with createResponsiveWrapper on Vaul ^1.1.2 #14

Description

@nxtvoid

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:

  1. Use a modal that includes a dynamic createResponsiveWrapper.
  2. Open the modal.
  3. Notice the drawer opens instantly (no animation).
  4. 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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions