kenwheeler / slick

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

Slick slide scroll by pixel #1830

Open mukeshgupta opened 8 years ago

mukeshgupta commented 8 years ago

Hi, In my application, I am adding multiple variable width slide where each slide contains single/multiple small 100X100 dimension div with colored background. On next/ previous arrow next slide scroll to front . If one of slide containing more than 6/7 small divs takes more width than window width and on next arrow click it skip showing some divs in long div and scroll to next slide. I thought if I can scroll in left /right with scroll by some pixel instead of one complete slide then it can solve my problem. I tried to scroll slide-track programmetically by change In scroll position but it did not worked

ahmadalfy commented 8 years ago

Currently slick scroll by slide not by pixels

mukeshgupta commented 8 years ago

what I should change to make that work. I tried to change scroll position of slick container but it do not change scroll position on slide scroll and uses transform:translate3D.

amymc commented 8 years ago

+1 for scrolling by pixels

RezaAbbasian commented 7 years ago

Follow: scrolling by pixels

Esperancia commented 6 years ago

+1 for scrolling by pixels. I have same issue. Here is my code: https://jsfiddle.net/odLmujfq/32/ I'm looking for a tip to see the other elements (inputs radio/check blocks) of my group. because the filling of the second slider will be dynamic with php and sometimes I find myself only one group per component. I posted full description of my issue here https://stackoverflow.com/questions/51171656/how-to-make-block-with-large-width-slide-with-slick.