Fabric: Fixed UI jankiness caused by changes in flattening

Summary:
It's not clear why exactly but seems in some cases, for some views the hierarchical relationship between views is required (when it should not be conceptually). Turning this feature off for Android for now.

Changelog: [Internal] Fabric-specific internal change.

Reviewed By: JoshuaGross

Differential Revision: D20292833

fbshipit-source-id: 1aab8468cedeb5c1440a95944be7eca3216e0db0
This commit is contained in:
Valentin Shergin
2020-03-05 17:29:08 -08:00
committed by Facebook Github Bot
parent b85cb0cf7a
commit 22fdb8bb05
@@ -53,6 +53,13 @@ void ViewShadowNode::updateTraits() {
formsView = formsView || formsStackingContext;
#ifdef ANDROID
// Force `formsStackingContext` trait for nodes which have .
// TODO: T63560216 Investigate why/how `formsView` entangled with
// `formsStackingContext`.
formsStackingContext = formsStackingContext || formsView;
#endif
if (formsView) {
traits_.set(ShadowNodeTraits::Trait::FormsView);
} else {