iOS:fix when set view's hidden status cannot trigger superview's relayout
This commit is contained in:
parent
93d26c05fd
commit
3e3e8266d4
@ -262,6 +262,7 @@ - (void)blendView:(UIView *)view forPropName:(NSString *)name propValue:(id)prop
|
||||
self.view.padding = padding;
|
||||
} else if ([name isEqualToString:@"hidden"]) {
|
||||
self.view.hidden = [prop boolValue];
|
||||
[self.view.superview setNeedsLayout];
|
||||
} else {
|
||||
DoricLog(@"Blend View error for View Type :%@, prop is %@", self.class, name);
|
||||
}
|
||||
|
Reference in New Issue
Block a user