This repository has been archived by the owner on Jan 16, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 75
Duplicate ids with loop option #120
Comments
I have the same problem. All elements are duplicated, but actions on elements are not. Because of that, some buttons work in the initial slide, but not in the duplicated slide. |
We can look into the duplicate ID issue, however for the actions is there anything preventing you from using event delegation? |
I solved the duplicate id issue by extending |
@sebastianhelbig glad you got it working for you, however this fix doesn't make much sense to me at the moment. Doesn't that remove the slide element (one with the |
app/components/swiper-slider.js
app/templates/components/swiper-slide.hbs
|
Thanks @sebastianhelbig. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
When using the swiper option
loop: true
, the swiper will duplicate the slides. This leads to having element with duplicate ids in the DOMThe text was updated successfully, but these errors were encountered: