framework7io / framework7

Full featured HTML framework for building iOS & Android apps
http://framework7.io
MIT License
18.13k stars 3.23k forks source link

onSlideChangeEnd only fired occasionally in swiper #1127

Closed jvence closed 8 years ago

jvence commented 8 years ago

This is a (multiple allowed):

I've created a coverflow slider as follows:

var pinSwiper = myApp.swiper('.swiper-pin', { effect: 'coverflow', coverflow: { rotate: 0, stretch: 20, depth: 5, modifier: 1, slideShadows: true }, onSlideChangeEnd: function () { console.log('jsUpdatePinsSwiper:Slide change END: ' + pinSwiper.activeIndex); } });

and noticed that onSlideChangeEnd is only called 1 in 10 times perhaps regardless of how fast we are swiping. This occurs both in Chrome and in IOS/Cordova app.

Any idea on how to resolve this?

jvence commented 8 years ago

Figured out that if I swipe for a short distance and remove my finger fast, then the function is called but if I swipe slow and over a longer distance and keep my finger for a while, then the function is never called.

valnub commented 8 years ago

Can you open a fiddle to show this issue? http://jsfiddle.net

valnub commented 8 years ago

Closed due to no reaction

lock[bot] commented 6 years ago

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.