iOS: fix popover view cannot change its layout after show
This commit is contained in:
parent
c7d7e4052d
commit
54ecddf994
@ -51,6 +51,9 @@ - (void)render:(NSDictionary *)argument withPromise:(DoricPromise *)promise {
|
||||
} else {
|
||||
DoricViewNode *viewNode = [self.doricContext targetViewNode:viewId];
|
||||
[viewNode blend:[argument optObject:@"props"]];
|
||||
if (![viewNode isKindOfClass:DoricRootNode.class]) {
|
||||
[viewNode.view.doricLayout apply];
|
||||
}
|
||||
[viewNode requestLayout];
|
||||
}
|
||||
[promise resolve:nil];
|
||||
|
Reference in New Issue
Block a user