diff --git a/packages/react-native/React/Fabric/Mounting/ComponentViews/Switch/RCTSwitchComponentView.mm b/packages/react-native/React/Fabric/Mounting/ComponentViews/Switch/RCTSwitchComponentView.mm index 941ad9b7f09..c3d44953ef3 100644 --- a/packages/react-native/React/Fabric/Mounting/ComponentViews/Switch/RCTSwitchComponentView.mm +++ b/packages/react-native/React/Fabric/Mounting/ComponentViews/Switch/RCTSwitchComponentView.mm @@ -63,7 +63,6 @@ using namespace facebook::react; if (oldSwitchProps.value != newSwitchProps.value) { BOOL shouldAnimate = _isInitialValueSet == YES; [_switchView setOn:newSwitchProps.value animated:shouldAnimate]; - _isInitialValueSet = YES; } // `disabled` @@ -86,6 +85,8 @@ using namespace facebook::react; _switchView.thumbTintColor = RCTUIColorFromSharedColor(newSwitchProps.thumbTintColor); } + _isInitialValueSet = YES; + [super updateProps:props oldProps:oldProps]; }