Open iKettles opened 7 years ago
I came across this issue also. Looks like its due to https://github.com/facebook/react-native/issues/4775
The quick fix would be to add this prop to swiper: key={this.state.posts.length}
@andyjamesdavies Thanks, it works for iOS too.
When dynamically loading pages in componentDidMount, if the new array of pages has more than what was set in the constructor you cannot scroll to these pages. The following will reproduce the bug:
This works fine:
Using React Native 0.38