Open AdrielD opened 3 years ago
I am facing the same issue, cannot update the state of the component inside the carousel. Maybe it is only made for simple images
https://github.com/brainhubeu/react-carousel/issues/645 : Maybe this fixes the issue PR raised : https://github.com/brainhubeu/react-carousel/pull/647
I tried using this as slider for a table component I have. Maybe it's out of the scope of this component, but here's what happened.
Describe the bug When using a controlled input as a slide (or inside one), Carousel causes it to re-render, reseting it's state. It's not possible to type more than a few characters, before the input is reendered.
To Reproduce At the live editing demo page (e.g. https://brainhubeu.github.io/react-carousel/docs/examples/multipleSlides), paste the code below and inspect the console: