-
Which variants of Embla Carousel are relevant to this feature request?
Feature descriptionJust wondering if there might be any interest in developing a new feature for this carousel, which essentially combines the best bits (IMO) of both display modes (drag free & snap to). The idea being that you can flick and scroll through multiple slides, but at the end of the drag event, the inertia resulting from the drag would end landing the user on the closest slide. Additional ContextSo this sort of thing does exist in other libraries. For example, in keen-slider, its a mode called "free-snap": https://codesandbox.io/p/sandbox/github/rcbyr/keen-slider-sandboxes/tree/v6/basic/free-snap-mode/react-typescript?file=%2Fsrc%2FApp.tsx I'd just use keen-slider, however embla carousel's api etc looks very nice, plus I'm a little put off by the fact that keen-slider seems to be completely untested. 😅 Before submitting
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
@glomotion I believe skipSnaps is what you're looking for! I always use it 😃 See example. |
Beta Was this translation helpful? Give feedback.
@glomotion I believe skipSnaps is what you're looking for! I always use it 😃 See example.