Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: Drawer prop open skips close animation #837

Open
MentalGear opened this issue Feb 28, 2024 · 1 comment
Open

bug: Drawer prop open skips close animation #837

MentalGear opened this issue Feb 28, 2024 · 1 comment

Comments

@MentalGear
Copy link
Contributor

Describe the bug

When triggering the Drawer by code using the open prop, and closing it again with open={false}, there is no slide down animation as triggered normally with <Drawer.Close>Cancel</Drawer.Close>.

Reproduction

Use the open prop on Drawer to close the drawer.

Logs

No response

System Info

System:
    OS: macOS 10.15.7
    CPU: (6) x64 Intel(R) Core(TM) i5-8500 CPU @ 3.00GHz
    Memory: 412.88 MB / 40.00 GB
    Shell: 3.2.57 - /bin/bash
  Binaries:
    Node: 20.11.0 - /usr/local/bin/node
    Yarn: 1.22.17 - /usr/local/bin/yarn
    npm: 7.10.0 - ~/node_modules/.bin/npm
  Browsers:
    Chrome: 122.0.6261.94
    Firefox: 123.0
    Safari: 15.6.1
  npmPackages:
    @sveltejs/kit: ^2.5.0 => 2.5.0 
    bits-ui: ^0.18.1 => 0.18.1 
    formsnap: ^0.5.0 => 0.5.0 
    mode-watcher: ^0.2.1 => 0.2.1 
    svelte: 5.0.0-next.55 => 5.0.0-next.55 
    sveltekit-superforms: ^2.5.0 => 2.5.0 
    vaul-svelte: ^0.2.3 => 0.2.3

Severity

annoyance

@MentalGear MentalGear changed the title bug: Drawer prop open no close animation bug: Drawer prop open skips close animation Feb 28, 2024
@huntabyte
Copy link
Owner

Related huntabyte/vaul-svelte#52

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants