[Feat]: Request for a Free-Snap mode that has the momentum physics of drag-free, but still always snaps to slide once it decays. #1282
Which variants of Embla Carousel are relevant to this feature request?
Feature descriptionRequest for a Free-Snap mode that has the momentum physics of drag-free, but still always snaps to slide once it decay. }` It works ok, but doesn't work with wheel events at all as momentum is killed at soon as wheel event stop. Maybe if I had more time I could perfect my scroll wheel solution. This isn't strictly part of the ticket, but was my overall goal to begin with. I tried to create a Wheel Inertia function that would simulate a drag impulse, but I couldn't get it to play nicely with the above Custom settle logic. I love Embla and think you've created a superior slide package in quite a few ways with better docs and organised api than most out there, and completely understand if you don't have the time or the funding to make this feature. I hope you don't take offence to my comparison to keen, but the reason for my request is because they have a free-snap mode, that I was able to successfully create wheel handling logic for quite easily that simulates the drag impulse, but then at low speed, just lets the internal physics engine control the snapping. However I prefer embla in many other ways so was hoping in the future this could be added. All the best. Additional ContextBefore submitting
|
Hi @Flynn-S,
Than you for your feature request. This PR might be what you're looking for, but please note that it hasn't been merged yet:
Is that correct?