react-native-pager-view
react-native-pager-view copied to clipboard
fix: override child pages style in utils
Summary
Related Issue #837 Latest change related to modifications in page wrapper caused on android to style properties not be passed anymore and initial calculation for screen height to be 0 if flex properties used on page child.
By modifying the utils wrapper for children to actually override the child views to include the flex property it solves the given issue.
Test Plan
Reproduced the example code provided and it displays correctly. Verified existing screens in example app and everything seems to be in place.
Checklist
- [X] I have tested this on a device and a simulator
- [X] I added the documentation in
README.md - [ ] I updated the typed files (TS and Flow)