diff --git a/renderer/native/ios/renderer/component/textinput/HippyShadowTextView.mm b/renderer/native/ios/renderer/component/textinput/HippyShadowTextView.mm index 83b518f50e1..0d38fba2fc0 100644 --- a/renderer/native/ios/renderer/component/textinput/HippyShadowTextView.mm +++ b/renderer/native/ios/renderer/component/textinput/HippyShadowTextView.mm @@ -192,17 +192,15 @@ - (void)dirtyText:(BOOL)needToDoLayout { } - (void)amendLayoutBeforeMount:(NSMutableSet *)blocks { - [super amendLayoutBeforeMount:blocks]; - - if (NativeRenderUpdateLifecycleComputed == _propagationLifecycle) { - return; + if (NativeRenderUpdateLifecycleComputed != _propagationLifecycle) { + //Set needs layout for font change event, etc. + NSNumber *currentTag = self.hippyTag; + [blocks addObject:^(NSDictionary *viewRegistry, UIView * _Nullable lazyCreatedView) { + UIView *view = lazyCreatedView ?: viewRegistry[currentTag]; + [view setNeedsLayout]; + }]; } - //Set needs layout for font change event, etc. - NSNumber *currentTag = self.hippyTag; - [blocks addObject:^(NSDictionary *viewRegistry, UIView * _Nullable lazyCreatedView) { - UIView *view = lazyCreatedView ?: viewRegistry[currentTag]; - [view setNeedsLayout]; - }]; + [super amendLayoutBeforeMount:blocks]; }