Replies: 1 comment
-
|
@tayteboss Thank you for the suggestion! Exposing physics options like mass, bounce, or dampening is unfortunately a lot of work. The reason is that these settings can easily break the carousel animations, which would lead to a large number of bug reports and a huge maintenance burden. I simply don’t have the spare time to manage that right now. If this project were to receive decent funding, I would have the bandwidth to look into safely exposing physics configurations. Until then, it’s not something I can support. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
This could be a feature request. However, I was wondering if there are any options or ways to control the mass, bounce or dampening as you scroll through slides. You see this in libraries such as Framer Motion which also use a physics-based approach to motion. I love this carousel, however, sometimes I find when you scroll it feels too 'light' when it could be great to have a 'heavier' feeling when scrolling through slides.
Thanks!
If applicable, which variants of Embla Carousel are relevant to this question?
Additional information
No response
CodeSandbox example
No response
Beta Was this translation helpful? Give feedback.
All reactions