Skip to content

Commit

Permalink
fix unwanted subview layout animation
Browse files Browse the repository at this point in the history
  • Loading branch information
lkzhao committed Jun 20, 2023
1 parent 31e4661 commit 3543500
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,7 @@ public class ComponentEngine {
UIView.performWithoutAnimation {
view.bounds.size = frame.bounds.size
view.center = frame.center
view.layoutIfNeeded()
if ComponentEngine.disableUpdateAnimation {
viewData.renderNode._updateView(view)
}
Expand Down

0 comments on commit 3543500

Please sign in to comment.