emilkowalski / vaul

An unstyled drawer component for React.
https://vaul.emilkowal.ski
MIT License
5.98k stars 199 forks source link

Use CSS Animations for entry and exit animations #354

Closed joaom00 closed 2 weeks ago

joaom00 commented 4 months ago

This PR adds the use of CSS animations for Vaul entry and exit animations, making the code for managing the open state simpler.

I also refactored the logic of the scaleBackground function by changing

Fixes #292

vercel[bot] commented 4 months ago

@joaom00 is attempting to deploy a commit to the emil Team on Vercel.

A member of the Team first needs to authorize it.

rortan134 commented 4 months ago

Also closes #351

proggarapsody commented 2 months ago

also it resolves #361

danchistyakov commented 2 months ago

@emilkowalski ?

GA1 commented 1 month ago

any update on this @emilkowalski ?

vercel[bot] commented 3 weeks ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
vaul ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 13, 2024 1:32pm
emilkowalski commented 2 weeks ago

A fix inspired by this PR has landed in #408.