flickity icon indicating copy to clipboard operation
flickity copied to clipboard

Slide by group

Open myconcretelab opened this issue 11 years ago • 79 comments

Playing with this great slider, i realize that it doesn't scroll with group of slide. Eg : When i see three slide in the viewport i expect, when i click on the next button, to have the next three slide. Or we just have the capabilities to have the next slide, one by one. Is it in project ?

Thanks !

myconcretelab avatar Jan 29 '15 14:01 myconcretelab

:+1: this would be a relevant option WRT the cellAlign and contain options—depending on the hard-coded or CSS width of cell items

lunelson avatar Jan 29 '15 15:01 lunelson

If you would like to see this feature, please +1

Ha, I wondered when this request was going to come up. Yes, I think it would be a nice feature. When you see 3 cells, you expect that swiping will show you 3 new ones, not just increment to the next cell.

This feature might be a big undertaking, as it adds an additional concept: the group.

desandro avatar Jan 29 '15 20:01 desandro

I wonder if a group concept is necessary--it seems to me the question is how many items are visible currently, and maybe also how many would be visible on the next swipe right or left. Note that these could also be different: e.g. one skinny item is shown in the middle of the viewport, two items are visible to the right (one fully, one partially), but only one is visible to the left (partially). So if you swipe right it should advance by 2, but if you swipe left only 1.

lunelson avatar Jan 30 '15 19:01 lunelson

:+1: Finally went to give the beta a spin for a project I'm working on, and immediately ran into this current limitation. No question, it's an additional layer or two of complexity to handle. FWIW, it might not require groups in the HTML structure, but perhaps groups within the javascript object.

ryanberg avatar Feb 01 '15 22:02 ryanberg

+1, but I don't need groups — I need just simple carousel behavior. Like this: http://flexslider.woothemes.com/basic-carousel.html

froloff avatar Feb 18 '15 17:02 froloff

+1

zslabs avatar Feb 27 '15 16:02 zslabs

+1

boynet avatar Mar 01 '15 12:03 boynet

+1

ghost avatar Mar 02 '15 17:03 ghost

+1

kylegach avatar Mar 05 '15 21:03 kylegach

+1

jasonwbullok avatar Mar 10 '15 16:03 jasonwbullok

+1

fa6ian avatar Mar 12 '15 19:03 fa6ian

+1

anoosurf avatar Mar 17 '15 12:03 anoosurf

+1

terkelg avatar Mar 20 '15 19:03 terkelg

+1

ThijmenDeValk avatar Mar 21 '15 23:03 ThijmenDeValk

+1

atacrawl avatar Mar 25 '15 01:03 atacrawl

+1

For now mixing freescroll and page dots you can kind of fake the behaviour with css, or Sass in my case.

For groups of three that would be acheived with:

.flickity-page-dots {
    .dot {
        display:none;
    }
    .dot:nth-child(3n+1){
        display:inline-block;
    }     
}

evoactivity avatar Mar 29 '15 11:03 evoactivity

+1

mican avatar Mar 29 '15 13:03 mican

+1

impsart avatar Apr 14 '15 09:04 impsart

+1

jackrugile avatar Apr 23 '15 22:04 jackrugile

+1

ghost avatar May 06 '15 09:05 ghost