React-Native-ViewPager icon indicating copy to clipboard operation
React-Native-ViewPager copied to clipboard

[iOS] onPageSelected doesn't get fired when scrolled too fast

Open ericapply opened this issue 8 years ago • 2 comments

Using IndicatorViewPager If you scroll through before the page completely stops, onPageSelected callback never gets fired. On Android, this works as intended, where even if you scroll through fast no indexes are missed.

For instance, if you log the indexes in iOS it may show up as 1, 2, 5 where index 3 and 4 were scrolled before fully stopped.

versions:

"react": "15.4.2",
"react-native": "0.41.2",
"rn-viewpager": "^1.1.4",

ericapply avatar Apr 28 '17 04:04 ericapply

same problem @ericapply

PeterLocas avatar Sep 21 '17 08:09 PeterLocas

Same here @ericapply

"react": "16.8.3",
"react-native": "0.59.1",
"rn-viewpager": "^1.2.9",

vadermemo avatar Apr 02 '19 20:04 vadermemo