darsain / sly

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

moveEnd event occurs twice #301

Open dupuisdavid opened 4 years ago

dupuisdavid commented 4 years ago

Hello, I seek at the end of the scrolling of a page to recover the index of the current page on which is positioned the slider to trigger integrate additional nodes of the node of the visible page (in one item per frame mode). I use the moveEnd callback in which I get the activePage property from rel property. But I notice that the moveEnd method is called 2 times for each swipe! Have you noticed this bug and have you possibly got a fix?