vueuse / motion

🤹 Vue Composables putting your components in motion
https://motion.vueuse.org
MIT License
2.24k stars 79 forks source link

Disable bounce (spring) on default presets? #213

Open butaminas opened 2 months ago

butaminas commented 2 months ago

Hi,

Thank you for creating and maintaining this library!

I'm using this library on vue 3 and noticed that if I use default presets in any way, (e.g. v-motion-slide-visible-bottom or <Motion preset="slideVisibleBottom">) it will automatically add spring effect (bouncing at the end of the animation).

However, once I add a custom duration value (e.g. :duration="300"), the spring effect disappears.

Any way to globally disable the spring effect on default presets?

Thank you.

Matoseb commented 1 month ago

+1