-
-
Notifications
You must be signed in to change notification settings - Fork 66
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Checks
- Not a duplicate.
- Not a question, feature request, or anything other than a bug report directly related to React Splide. Use Discussions for these topics: https://github.com/Splidejs/splide/discussions
Version
0.7.12
Description
when you are using the splide with type="loop" then there will be clones of your element on front and end of the slide. Those clones do not fire the click event that is attached on the element.
Screen.Recording.2023-08-02.at.12.53.49.mov
Reproduction Link
https://codesandbox.io/s/react-splide-no-clickevent-on-clone-jfrlnc
Steps to Reproduce
- open attached codesandbox
- slide the left or right till you have an clone visible in your slider
- Press it and watch console for log ( e.g. 'x clicked')
Expected Behaviour
For the clone the event should be fired linke for the original slide. So the clone for the slide with the index 9 should log: "#9 clicked"
chaance, austencm, Spirik, thehue, OPdarmawan and 1 more
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working