react-native-pager-view icon indicating copy to clipboard operation
react-native-pager-view copied to clipboard

fix: override child pages style in utils

Open draggie opened this issue 1 year ago • 0 comments

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

android-example

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)

draggie avatar Aug 21 '24 08:08 draggie