diff --git a/doric-iOS/Pod/Classes/Shader/DoricSuperNode.m b/doric-iOS/Pod/Classes/Shader/DoricSuperNode.m index caf1ab54..eeba98ea 100644 --- a/doric-iOS/Pod/Classes/Shader/DoricSuperNode.m +++ b/doric-iOS/Pod/Classes/Shader/DoricSuperNode.m @@ -160,6 +160,9 @@ - (void)subNodeContentChanged:(DoricViewNode *)subNode { || self.view.doricLayout.heightSpec == DoricLayoutFit)) { [self.superNode subNodeContentChanged:self]; } else { + if (![self.type isEqualToString:@"Root"]) { + [self.view.doricLayout apply]; + } [self requestLayout]; } }