iOS: fix animate won't work on popovered view
This commit is contained in:
parent
5aa20dbd6a
commit
094a0936b9
@ -44,6 +44,9 @@ - (void)animateRender:(NSDictionary *)args withPromise:(DoricPromise *)promise {
|
|||||||
} else {
|
} else {
|
||||||
DoricViewNode *viewNode = [self.doricContext targetViewNode:viewId];
|
DoricViewNode *viewNode = [self.doricContext targetViewNode:viewId];
|
||||||
[viewNode blend:props];
|
[viewNode blend:props];
|
||||||
|
if(![viewNode isKindOfClass:DoricRootNode.class]){
|
||||||
|
[viewNode.view.doricLayout apply];
|
||||||
|
}
|
||||||
[viewNode requestLayout];
|
[viewNode requestLayout];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user