mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-05 22:38:59 +08:00
Fix TextInput in React Nodes
Summary: @public Relax the constraint on ReactTextInputManager. The TextInput Advanced screen looked different with and without nodes, namely child Text items were not being rendered on the Nodes version. This patch fixes that. Differential Revision: D2930800
This commit is contained in:
@@ -58,13 +58,14 @@ public class FlatUIImplementation extends UIImplementation {
|
||||
|
||||
TypefaceCache.setAssetManager(reactContext.getAssets());
|
||||
|
||||
viewManagers = new ArrayList<ViewManager>(viewManagers);
|
||||
viewManagers = new ArrayList<>(viewManagers);
|
||||
viewManagers.add(new RCTViewManager());
|
||||
viewManagers.add(new RCTTextManager());
|
||||
viewManagers.add(new RCTRawTextManager());
|
||||
viewManagers.add(new RCTVirtualTextManager());
|
||||
viewManagers.add(new RCTTextInlineImageManager());
|
||||
viewManagers.add(new RCTImageViewManager());
|
||||
viewManagers.add(new RCTTextInputManager());
|
||||
|
||||
ViewManagerRegistry viewManagerRegistry = new ViewManagerRegistry(viewManagers);
|
||||
FlatNativeViewHierarchyManager nativeViewHierarchyManager = new FlatNativeViewHierarchyManager(
|
||||
|
||||
Reference in New Issue
Block a user