react-native-swiper
react-native-swiper copied to clipboard
Fix content offset value
Is it a bugfix ?
- Yes
- https://github.com/leecade/react-native-swiper/issues/1053
Describe what you've done:
The contentOffset was looking inside state rather than this.internals, where the offset is adjusted. This means as soon as setState is called the offset resets.
How to test it ?
Create a swiper with 2 slides, swipe to slide 2 and then trigger a setState.
Can we please merge this? This PR has been out for a long time and fixes a breaking bug on iOS devices.
Hate to admit it but unless this repo gets transferred to react-native-community I'd consider it dead.
very good
Thank you
Thank you