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

fix: don't animate initially if defaultOpen is set to true #488

Merged
merged 1 commit into from
Oct 13, 2024

Conversation

emilkowalski
Copy link
Owner

No description provided.

@emilkowalski emilkowalski merged commit 777c19e into main Oct 13, 2024
1 check passed
@freddieerg
Copy link

freddieerg commented Oct 18, 2024

Hi, I believe this has potentially added another issue where the animation is happening after change the page width. After loading, if I then pull the page in from the side, I'm seeing the animation fire. Is anyone else experiencing this?

After investigating it seems the issue is that when you change the window size it causes data-vaul-animate to become true, this of course then fires what it thinks is the relevant animation.

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

Successfully merging this pull request may close these issues.

2 participants