n4kz / react-native-pages

Easy to use page view component
Other
376 stars 83 forks source link

Indicators not changing on Android #17

Closed jacobhummel closed 6 years ago

jacobhummel commented 6 years ago

Indicators don't function correctly on Android. I'm on version 0.6.1, using React Native 0.50.3

https://media.giphy.com/media/xT1R9ZzOF5svFd2DNC/giphy.gif

jacobhummel commented 6 years ago

This may be related to https://github.com/facebook/react-native/issues/16522 ?

n4kz commented 6 years ago

Thanks for reporting! I've just updated example to RN 0.50.3 and it still works for me in emulator on API 23 and API 26, in horizontal and vertical layout. Could you please provide more details or minimal code sample?

n4kz commented 6 years ago

Well, just caught it. For some reason no crash happens if second Pages component is present. Tested on RN 0.51.0-rc.2 and it works as expected in both cases.

I would suggest upgrading RN in your project to rc version now or to stable one as it gets released.