Open clementcavigniaux opened 4 years ago
Anybody ?
Kinda late on this, but I hope I can help someone with the same issue. The cloned elements do not replicate event listeners as you said, so you can have to use event delegation from the parent element.
Hi,
How to use React onClick on caroussel item ? Indeed, I need to know when user click on slide but the onClick is not spreading on clones.
Do you have a solution?