darsain / sly

JavaScript library for one-directional scrolling with item based navigation support.
http://darsa.in/sly
2.87k stars 497 forks source link

Active item not updating on some rare ocasions #168

Closed darsain closed 9 years ago

darsain commented 9 years ago

Reported here: https://groups.google.com/forum/#!topic/sly-js/pe-EeJxlF_c

On the main demo page with forceCentered Sly:

  1. Scroll to middle of the sly
  2. Click on the active content
  3. Scroll. It scrolls with selected content and the rest elements stays as it is.

I've managed to replicate it once, but never since.

darsain commented 9 years ago

From google groups:

Clicking on the active content and slide little bit upward without letting the sly move left or right will create the problem every-time.