Open hkung77 opened 7 years ago
I'm on React 16 and react native 48.
Passing an initialPage but it doesn't seem to be working anymore. Only occurring on IOS. Android seems fine.
I was able to do a workaround by wrapping the scrollToPage within a setTimeOut.
if (Platform.OS === 'ios') { setTimeout(() => { this.carousel.refs.pager.scrollToPage(this.props.initialPage, false); }, 0); }
I'm on React 16 and react native 48.
Passing an initialPage but it doesn't seem to be working anymore. Only occurring on IOS. Android seems fine.
I was able to do a workaround by wrapping the scrollToPage within a setTimeOut.