ionic-team / ionic-v1

The repo for Ionic 1.x. For the latest version of Ionic, please see https://github.com/ionic-team/ionic
Other
193 stars 187 forks source link

$ionicSlides.slideChangeEnd fires one time by fast swiping #131

Open jgw96 opened 7 years ago

jgw96 commented 7 years ago

From @emps on May 17, 2016 18:8

by swiping fast between slides, $ionicSlides.slideChangeEnd fires as u finish swiping and not for every slide.. it works ok if u swipe slower

ionic 1.3.x

as i see problem comes from Swiper any way i found a solution listening to vm.swiper.on('onSlidePrevStart', () => { and vm.swiper.on('onSlideNextStart', () => {

works with fast swiping

so maybe $ionicSlides.slideChangeEnd can be modified to work onSlideNextEnd(swiper) , onSlidePrevEnd(swiper) instead of Swiped onSlideChangeEnd(swiper) callback

Copied from original issue: driftyco/ionic#6550

jgw96 commented 7 years ago

From @danbucholtz on May 19, 2016 14:48

Hi @emps,

I'll check it out.

Thanks, Dan

jgw96 commented 7 years ago

From @longbo666 on November 7, 2016 9:6

半年过去了,此bug进展如何?

jgw96 commented 7 years ago

From @konsultaner on December 12, 2016 14:20

Any news on this one?

jgw96 commented 7 years ago

From @emps on December 15, 2016 21:24

use vm.swiper.on('onSlidePrevStart', () => { and vm.swiper.on('onSlideNextStart', () => {

to indicate swipes