vadimkorr / svelte-carousel

The awesome carousel component for Svelte 3 :arrow_left: :art: :arrow_right:
https://vadimkorr.github.io/svelte-carousel
Apache License 2.0
290 stars 64 forks source link

on:click-events do not work on clones #146

Open jis3r opened 1 year ago

jis3r commented 1 year ago

I currently have a carousel with on:click-events on the images. When the carousel is not infinite, it works well. With infinite=true however, the clones get the correct styling as the original images, but the on:click-events only work on the originals and not on the clones. it would be awesome if the clones could also handle the events.

ngregrichardson commented 1 year ago

Seconded -- I'm using events such as OnMouseEnter and the same behavior exists