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

Crash on Swiper onMomentumScrollEnd()

Open fabriziomoscon opened this issue 9 years ago • 2 comments

TypeError: undefined is not an object (evaluating 'this.props.pageArray[state.index].backgroundColor')

React native 0.38 react-native-app-intro 1.1.5 Platform android 7.0 Huawei

I found this error in my Sentry Error list. The problem is on this line: https://github.com/FuYaoDe/react-native-app-intro/blob/f9511c1672bd426b243d2a2b3cc8adab6ae5bbe0/AppIntro.js#L348 I think for some reasons the state in swiper is null. I have also noticed that the swiper fork is behind master by many commits, so I am not sure if this is actually a small bug that has been fixed already in the swiper master branch. For example, just reading the commit I can see possible problems with the scroller and state: https://github.com/leecade/react-native-swiper/commit/d4065d7ba9c670107ab9b2a248facfb4f78b4430

fabriziomoscon avatar Dec 05 '16 10:12 fabriziomoscon

+1 I have the same problem too

onuroo avatar Mar 05 '17 13:03 onuroo

+1 I have the same problem too

ramki1979 avatar Sep 30 '17 02:09 ramki1979