react-native-macos/Libraries/Modal
Joshua Gross bda8aaeec2 Modal: disable view flattening explicitly for the children of Modal, the content wrappers
Summary:
I noticed that in ModalHostShadowNode.java (not used in Fabric), there's an assumption that the Modal will have exactly one child on the native side; this child is explicitly specified in Modal.js.

However, in Fabric, these views are flattened and so the Modal will actually have N children - whatever children the product code passes into the Modal.

In *theory* this should be fine, but might be causing issues. Not sure.

This is an experiment and shouldn't be landed until we verify that (1) this actually matters, (2) that it fixes an issue with Modal on iOS or Android.

Changelog: [Internal] Change to make Fabric consistent with non-Fabric Modal

Reviewed By: mdvacca

Differential Revision: D21191822

fbshipit-source-id: 9d65f346387fd056649d4063d70220f637ba8828
2020-04-23 15:39:45 -07:00
..
__tests__ Modal: disable view flattening explicitly for the children of Modal, the content wrappers 2020-04-23 15:39:45 -07:00
Modal.js Modal: disable view flattening explicitly for the children of Modal, the content wrappers 2020-04-23 15:39:45 -07:00
NativeModalManager.js Convert easy files to flow strict-local 2019-12-05 16:06:46 -08:00
RCTModalHostViewNativeComponent.js Updating the URLs to point at new domain name reactnative.dev 2020-02-24 13:09:11 -08:00