Closed digitalartcrew closed 9 months ago
@akiran Would you mind taking a look at this issue? Thanks
This could be because of unnecessary re-renders of Slider when state in a parent component changes.
I am working on a fix and I will make a release soon https://github.com/akiran/react-slick/pull/2331
@digitalartcrew Can you give a code sample to replicate the issue you are facing?
This could be because of unnecessary re-renders of Slider when state in a parent component changes.
I am working on a fix and I will make a release soon #2331
Thank you very much. It looks like this issue is resolved!
Issue
Starting version v0.27.9
slickPrev
stop working after refresh.targetSlide
values becomes-1
instead of previous slide index. See below:The screenshots demonstrate a change slide action starting from index 3 in both versions.
Not working as of 0.27.9
Working 0.27.8 and below
It looks like there is a bug here, regardless if lazyload is true/false it will also be overwritten when infinite is false
This code was also added when version failed
git diff 69348c1 a43f109