mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Fix bug in TextInlineViews when using a deep nested hierarchy of Text and Images
Summary: This fixes a bug in Android TextInlineViews that was reproducible in ActivityLog screen, see T63438920 Since Text are virtual nodes it is not necessary for these kind of views to stack views during diffing. changelog: [internal] Reviewed By: shergin Differential Revision: D20448085 fbshipit-source-id: 2d852975493bf6bcc7840c80c5de5cb5f7890303
This commit is contained in:
committed by
Facebook GitHub Bot
parent
45d7df6cf7
commit
6a6590fbdf
@@ -33,7 +33,6 @@ class TextShadowNode : public ConcreteShadowNode<
|
||||
|
||||
#ifdef ANDROID
|
||||
traits.set(ShadowNodeTraits::Trait::FormsView);
|
||||
traits.set(ShadowNodeTraits::Trait::FormsStackingContext);
|
||||
#endif
|
||||
|
||||
return traits;
|
||||
|
||||
Reference in New Issue
Block a user