iOS: fix animate won't work on popovered view

This commit is contained in:
pengfei.zhou 2021-12-03 16:24:21 +08:00 committed by osborn
parent 5aa20dbd6a
commit 094a0936b9

View File

@ -44,6 +44,9 @@ - (void)animateRender:(NSDictionary *)args withPromise:(DoricPromise *)promise {
} else {
DoricViewNode *viewNode = [self.doricContext targetViewNode:viewId];
[viewNode blend:props];
if(![viewNode isKindOfClass:DoricRootNode.class]){
[viewNode.view.doricLayout apply];
}
[viewNode requestLayout];
}
}