mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Surface: Using screen size as a default maximum size of Fabric Surface
Summary: That's a temporary change that useful only while we don't have deeper/proper intergration with UIKit's navigation infra. Reviewed By: mdvacca Differential Revision: D13104172 fbshipit-source-id: 024e71e04470d56d2c5e9b3f6c3392555ce50b63
This commit is contained in:
committed by
Facebook Github Bot
parent
bea3bb6956
commit
346c9d5f2c
@@ -49,7 +49,8 @@
|
||||
_rootTag = [RCTAllocateRootViewTag() integerValue];
|
||||
|
||||
_minimumSize = CGSizeZero;
|
||||
_maximumSize = CGSizeMake(CGFLOAT_MAX, CGFLOAT_MAX);
|
||||
// FIXME: Replace with `_maximumSize = CGSizeMake(CGFLOAT_MAX, CGFLOAT_MAX);`.
|
||||
_maximumSize = RCTScreenSize();
|
||||
|
||||
_touchHandler = [RCTSurfaceTouchHandler new];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user