diff --git a/doric-iOS/Pod/Classes/Shader/DoricSuperNode.m b/doric-iOS/Pod/Classes/Shader/DoricSuperNode.m index 8176d50a..03cbaac3 100644 --- a/doric-iOS/Pod/Classes/Shader/DoricSuperNode.m +++ b/doric-iOS/Pod/Classes/Shader/DoricSuperNode.m @@ -162,7 +162,8 @@ - (void)subNodeContentChanged:(DoricViewNode *)subNode { } if (self.superNode && (self.view.doricLayout.widthSpec == DoricLayoutFit - || self.view.doricLayout.heightSpec == DoricLayoutFit)) { + || self.view.doricLayout.heightSpec == DoricLayoutFit + || self.view.doricLayout.weight > 0)) { [self.superNode subNodeContentChanged:self]; } else { if (![self.type isEqualToString:@"Root"]) {