Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Click events on clones are not working #74

Open
Labels
bugSomething isn't working
@baeroe

Description

Checks

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

  1. open attached codesandbox
  2. slide the left or right till you have an clone visible in your slider
  3. 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"

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /