mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Summary: If a root view is initialized with a bridge that is already loaded, then it immediately will initialize its content view with a zero size, which results in that content view's size being calculated according to its content instead of the size set on the root view after initialization. This would lead to a race condition where sometimes the content view has a smaller size than the root view. Changelog: [iOS][Added] - Allow RCTRootView to be initialized with a frame Reviewed By: PeteTheHeat Differential Revision: D27052637 fbshipit-source-id: 384ab3be27c92c0d84d34d49afb697882335d890