This repository has been archived by the owner on Feb 18, 2019. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Summary: When I first did Modal on Android, I incorrectly set the styleWidth and styleHeight on the ModalHostShadowNode. This corresponded to RCTModalHostView in Modal.js. This node is actually really just a dummy node in the tree. The proper node to set the width and height on is the inner <View/> that has top and left position set on it. This updates the code to set the width and height on that inner node. Reviewed By: mkonicek Differential Revision: D3077415 fb-gh-sync-id: e9aee0a21333ed0b5bdde11f453381b0a13470c9 shipit-source-id: e9aee0a21333ed0b5bdde11f453381b0a13470c9
- Loading branch information