Open onlyveen opened 4 years ago
I have this situation where i should add and delete slides dynamically. Iam getting active index on change where i cannot get active index after deleting.
https://codesandbox.io/s/react-slick-playground-gd6lr
You can use initialSlide settings to set the value. The solution looks simple to your problem, but I hope this solves your problem.
initialSlide
but if infinite=true, the initialSlide does not work
I have this situation where i should add and delete slides dynamically. Iam getting active index on change where i cannot get active index after deleting.
https://codesandbox.io/s/react-slick-playground-gd6lr