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:
David Vacca
2020-03-13 22:13:57 -07:00
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;