metafizzy / isotope

:revolving_hearts: Filter & sort magical layouts
https://isotope.metafizzy.co
11.08k stars 1.41k forks source link

Items grouped in slider #867

Closed benvanlooy closed 9 years ago

benvanlooy commented 9 years ago

Hi there,

I was wondering if the following is possible with isotope:

If all the posts wouldnt be in a slider, and all on the same "page", it wouldn't at all be an issue of course.. But I was wondering if it's possible with isotope, to do the filtering, so the amount of slides get recalculated & rendered again?

at the moment I'm not using isotope, because i think it isn't possible.. can anyone point me in the right direction?

thanks in advance Ben

desandro commented 9 years ago

I do not recommend using Isotope within a slider. This would be mixing two UI patterns, which can be confusing. You'll have to add additional logic so that slider recognizes which slides are visible, and what order they are in. This can be done with .filteredItems. I'll leave it up to you to create a solution.