leaffm / react-infinite-carousel

React simple infinite carousel with lazy loading and responsive support
MIT License
116 stars 19 forks source link

Only work one carrousel for page #11

Closed JMembri closed 5 years ago

JMembri commented 5 years ago

The carrousel generate the same id for other components.

The second carousel not it's showing because are using the same id.

oyeanuj commented 5 years ago

@gl0gl0 Also, came here to report that two carousels on the same page aren't working. Any ideas on workarounds?

JMembri commented 5 years ago

@oyeanuj i think that the problem is in the ID with which the carrousel is generated, because if you can see the code, both have the same id

gl0gl0 commented 5 years ago

@JMembri @oyeanuj I have several carousels on a page, and works fine for me. Can you elaborate a little bit more?

garrylachman commented 4 years ago

Please re-open... not working well with 2 carousels on a page. The sec one, the images reloaded from server on any interaction