-
Notifications
You must be signed in to change notification settings - Fork 5.9k
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
Smooth Scrolling instead of snapping to images #1665
Comments
I'm no longer seeing this behavior after adding |
+1 |
Thanks @cseeger but I need my slider to start at the left so center-mode doesn't work for me. |
Thank you for a great slider @kenwheeler but just wondering if there is a solution for smooth scrolling rather than the slider snapping to each image? It seems a few people are interested in knowing how to do this. Thank you. |
There isn't a way to do this right now, although I could add it. |
It would certainly be a nice feature. 😀 |
Thanks for your response @kenwheeler. Is it difficult to add? I wasn't sure if there's code that could be added for it. Not well-versed in jquery. Otherwise love the slider. |
Well, it's tough. Slick uses duration based animation. So it's like you swipe and it animates in 300ms. Free scroll would be physics based, where you have friction and spring, so you swipe and the velocity decrements and subtracts your left position over time on a requestAnimationFrame loop. Basically, they are different set ups. I plan to switch to the second for slick 2.0. In the meantime, Flickity has a great free scroll feature. |
Thanks for the info @kenwheeler. How do I get an update when slick 2.0 comes out? |
@ljmarkham I'll ping you |
Please "ping" me as well. I love Slick but would like Free Scrolling |
+1! |
This would be great! |
definitely wanted |
+1 |
This is coming in 2.0. The branch is up now if you wanna look. Modernizing everything, and this issue will be possible when I refactor how slide display and movement works. |
+1 |
+1 - just started using slick and LOVE it .... smooth scrolling defo necessary alright. Thanks |
Hi, just one quick question. How is the progress with this particular feature or 2.0 release? My team is using your pretty Slick carousel, and we're really hoping for this feature. For now we have to stick to 2 libraries :( (swiper & slick) |
In dire need of this feature. |
+1 on this too! Please really need it, if slick had this, my word. |
Any update on when this will be added? |
+1 |
1 similar comment
+1 |
+1 |
4 similar comments
+1 |
+1 |
+1 |
+1 |
+3, my two girlfriends want it too! Love your slider, thanks |
While looking for a solucion found this [1] (not mine). Maybe useful for someone. |
Love Slick +1 |
+1 Also looking for this feature. Might have to pick a different slider because of it. |
+1 |
2 similar comments
+1 |
+1 |
+1 |
+1 |
1 similar comment
+1 |
Sorry, 3 years and this is not complete? |
From what I've heard, Slick is not really actively developed anymore. I've tried using some alternatives, like Flickity and Swiper, but they each have their limitations (as Slick does for this issue). It's a shame, because I really liked it. |
I NEED THIS |
I guess we need to abandon Slick and use Flickity or Swiper then. |
@AurelianSpodarec FWIW, I've been using TinySlider after giving up on Slick, and have been pretty happy with it. |
Snapping unresolved? |
Anyone knows any update or solutions? |
So no updating? |
since 2015? surely not |
loloilloiloil |
+1 |
I think we can fixed it if we set this when scrolling |
To get a smooth effect in the slider, the css styles must not contain I give an example of settings that will set smooth autoscroll, as long as the slider styles do not contain the above mentioned functions.
|
I love this slider but I am wondering if it's possible to have smooth scrolling where the slider stops wherever you stop scrolling at, rather than it snapping to certain images. I have tried playing around with the 'SlidesToShow' and 'SlidesToScroll' settings but on mobile devices it still seems to skip or cut off images with the snap function based on the format of images in each slider (I have a bunch of sliders with different format/size images). Is there any way to edit the code so it functions similar to this example - http://www.xtcdesign.com/pages/serenity-kitchen.php - where it's just a smooth scroll based on the mouse/touch scroll.
Thank you.
The text was updated successfully, but these errors were encountered: