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:
Valentin Shergin
2017-03-13 13:31:35 -07:00
committed by Facebook Github Bot
parent 103fa3d818
commit fa30f41403
7 changed files with 99 additions and 5 deletions

View 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