From b49a1ae6668c98e1d219d36706ec6e4432c73af5 Mon Sep 17 00:00:00 2001 From: Nicola Corti Date: Thu, 10 Jul 2025 15:20:13 +0100 Subject: [PATCH 1/2] [RN 0.81] Do not set the `ShadowNodeTraits::Trait::DirtyYogaNode` --- .../components/safeareacontext/RNCSafeAreaViewShadowNode.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/common/cpp/react/renderer/components/safeareacontext/RNCSafeAreaViewShadowNode.h b/common/cpp/react/renderer/components/safeareacontext/RNCSafeAreaViewShadowNode.h index 3b4da5eb..410bc161 100644 --- a/common/cpp/react/renderer/components/safeareacontext/RNCSafeAreaViewShadowNode.h +++ b/common/cpp/react/renderer/components/safeareacontext/RNCSafeAreaViewShadowNode.h @@ -24,9 +24,7 @@ class JSI_EXPORT RNCSafeAreaViewShadowNode final public: static ShadowNodeTraits BaseTraits() { - auto traits = ConcreteViewShadowNode::BaseTraits(); - traits.set(ShadowNodeTraits::Trait::DirtyYogaNode); - return traits; + return ConcreteViewShadowNode::BaseTraits(); } void adjustLayoutWithState(); From 7a23d563cadbb69fbf7555e9ea35767db4af34af Mon Sep 17 00:00:00 2001 From: Nicola Corti Date: Thu, 10 Jul 2025 15:29:31 +0100 Subject: [PATCH 2/2] Update RNCSafeAreaViewShadowNode.h --- .../components/safeareacontext/RNCSafeAreaViewShadowNode.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/common/cpp/react/renderer/components/safeareacontext/RNCSafeAreaViewShadowNode.h b/common/cpp/react/renderer/components/safeareacontext/RNCSafeAreaViewShadowNode.h index 410bc161..911025bc 100644 --- a/common/cpp/react/renderer/components/safeareacontext/RNCSafeAreaViewShadowNode.h +++ b/common/cpp/react/renderer/components/safeareacontext/RNCSafeAreaViewShadowNode.h @@ -23,10 +23,6 @@ class JSI_EXPORT RNCSafeAreaViewShadowNode final using ConcreteViewShadowNode::ConcreteViewShadowNode; public: - static ShadowNodeTraits BaseTraits() { - return ConcreteViewShadowNode::BaseTraits(); - } - void adjustLayoutWithState(); };