-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
slickPrev not working after refresh starting v0.27.9 #2315
Comments
@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 |
@digitalartcrew Can you give a code sample to replicate the issue you are facing? |
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
The text was updated successfully, but these errors were encountered: