mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-23 20:01:01 +08:00
Better TextInput: RCTTextView and RCTTextField was marked as Yoga leaf nodes
Reviewed By: mmmulani Differential Revision: D4639060 fbshipit-source-id: d4580303a61a7f86cf8bb6ec016fd9834340ffe0
This commit is contained in:
committed by
Facebook Github Bot
parent
103fa3d818
commit
fa30f41403
19
Libraries/Text/RCTShadowTextView.m
Normal file
19
Libraries/Text/RCTShadowTextView.m
Normal file
@@ -0,0 +1,19 @@
|
||||
/**
|
||||
* Copyright (c) 2015-present, Facebook, Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* This source code is licensed under the BSD-style license found in the
|
||||
* LICENSE file in the root directory of this source tree. An additional grant
|
||||
* of patent rights can be found in the PATENTS file in the same directory.
|
||||
*/
|
||||
|
||||
#import "RCTShadowTextView.h"
|
||||
|
||||
@implementation RCTShadowTextView
|
||||
|
||||
- (BOOL)isYogaLeafNode
|
||||
{
|
||||
return YES;
|
||||
}
|
||||
|
||||
@end
|
||||
Reference in New Issue
Block a user