kenwheeler / slick

the last carousel you'll ever need
kenwheeler.github.io/slick
MIT License
28.52k stars 5.88k forks source link

Scroll Up to the previous div when scrolling back to top #3915

Open PavankumarKori1 opened 4 years ago

PavankumarKori1 commented 4 years ago

I am trying to scroll back up to previous div when scrolling back to top. I have the solution for scrolling continuously after last slider. But now i am not able to find for the opposite when scrolling back to top. I have attached the jsfiddle and codepen snippets for the reference

====================================================================

[ paste your jsfiddle link here ]

use this jsfiddle to reproduce your bug: https://jsfiddle.net/Pavankumar_Kori/pw3svdnr/2/ we will likely close your issue without it.

PavankumarKori1 commented 4 years ago

@kenwheeler can you help me with this?

agustinl commented 4 years ago

Hi @PavankumarKori1 Could you try with infinite: true , thats work form me when scoll to top.

https://jsfiddle.net/azs7Ljhd/