react-native-app-intro icon indicating copy to clipboard operation
react-native-app-intro copied to clipboard

Slides get stuck when ">" arrow is pressed too quickly

Open aforty opened this issue 9 years ago • 0 comments

The slides appear to get stuck when the right arrow (">") is pressed too quickly in succession. At normal clicking speed the "Done" button will appear which will then trigger the end of the slide, however when pressing very quickly it will never show the Done button and simply try to keep advancing through the slides even though there are none. This then causes a strange behavior where the scrollview might get stuck past the last slide and the Done button never appears.

Suggested solution: When the right arrow (">") button is pressed but the internal state shows that the current index is greater than the current visible slide, then trigger the Done button onPress instead.

aforty avatar Oct 31 '16 22:10 aforty