mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Use window size instead of screensize for maximum size
Summary: Changelog: [Internal] This was set to screensize in D13104172 (https://github.com/facebook/react-native/commit/346c9d5f2c0fd99d6f05828d594d05bfaeed902f) to work around issues at that time. The issues might not be around anymore. Reviewed By: PeteTheHeat Differential Revision: D23298723 fbshipit-source-id: 4f33a2cc65ae4fe5ba20b0b2b270b135878c339f
This commit is contained in:
committed by
Facebook GitHub Bot
parent
258387ddaa
commit
b7afbb1fe2
@@ -55,8 +55,8 @@ using namespace facebook::react;
|
||||
_rootTag = [RCTAllocateRootViewTag() integerValue];
|
||||
|
||||
_minimumSize = CGSizeZero;
|
||||
// FIXME: Replace with `_maximumSize = CGSizeMake(CGFLOAT_MAX, CGFLOAT_MAX);`.
|
||||
_maximumSize = RCTScreenSize();
|
||||
|
||||
_maximumSize = CGSizeMake(CGFLOAT_MAX, CGFLOAT_MAX);
|
||||
|
||||
_touchHandler = [RCTSurfaceTouchHandler new];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user