Replies: 4 comments 6 replies
-
Since the transition is made by CSS. There is no event triggered while transitioning. |
Beta Was this translation helpful? Give feedback.
-
Hi, In case someone needs something similar in the future, I implemented a small workaround using listeners for transition events. Hope it helps 🤞 you can find a demo here : https://stackblitz.com/edit/vitejs-vite-4x2tzw?file=main.js |
Beta Was this translation helpful? Give feedback.
-
How would you make this work with an infinite/looping carousel? Im guessing the code above breaks for that because of the duplication of slides? |
Beta Was this translation helpful? Give feedback.
-
Is there a way to make the progress bar move horizontally rather than grow using drag-free, no-snap carousel? Here's the current behavior I have implemented: The carousel contains 5 slides. I have successfully achieved this behavior in a standard carousel setup. However, after modifying the carousel to be drag-free and with no snap behavior, the progress bar is no longer functioning correctly. Can you provide guidance on how to modify the carousel implementation to ensure that the progress bar moves horizontally in a drag-free, no-snap carousel? I have also attached a GIF demonstrating the explained behaviour. |
Beta Was this translation helpful? Give feedback.
-
Checks
Version
4.0.7
Description
Currently the splide has 'dragging' event but still lacks a 'scrolling/moving' event to indicate that it's in motion caused by either dragging or self inertial movement or keyboard controls
Reproduction Link
No response
Steps to Reproduce
Sorry there isn't a 'feature request' type in issue template
Expected Behaviour
Add 'scrolling/moving' event
Beta Was this translation helpful? Give feedback.
All reactions