react-native-pager-view
react-native-pager-view copied to clipboard
(Android) Views position is not correctly when rotate the screen
Environment
The repo example.
Description
When you set prop setOffscreenPageLimit
(ex: setOffscreenPageLimit=1).The view is not displayed correctly after rotating the device.
Reproducible Demo
1.Set prop setOffscreenPageLimit={xxx}
2.Swipe to second view.
3.Turn on automatic rotation on the device.
4.Rotate the device.
@troZee
Same here. @NiuGuohui did you find a solution?
Same here. @NiuGuohui did you find a solution?
Sorry, it has not been resolved, I temporarily removed ‘setOffscreenPageLimit’.