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:
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];
|
||||
|
||||
|
|
Loading…
Reference in New Issue