metafizzy / flickity-docs

:memo: documentation for Flickity
28 stars 8 forks source link

Unable to recognize the end of content #37

Closed ottokovarik closed 8 years ago

ottokovarik commented 8 years ago

Hi, I have problem with this settings: http://flickity.metafizzy.co/options.html#contain I don't want to move more then "the end" of content (to get the last slide into to the center of content).

But with actual working, next button is disabled after really last item is active. Even if transform is the same for last 4 items for example.

Is there any posibility how to recognize, that slider is on the end?

desandro commented 8 years ago

Thanks for reporting this issue. See https://github.com/metafizzy/flickity/issues/289#issuecomment-157488885 for discussion