Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow RCTRootView to be initialized with a frame
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
- Loading branch information