Skip to content

Commit

Permalink
fix(ios): disable view animation only when batch actions exists
Browse files Browse the repository at this point in the history
  • Loading branch information
ozonelmy authored and hippy-actions[bot] committed Aug 30, 2023
1 parent 3206035 commit 1e1af4c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -209,8 +209,8 @@ - (void)applyDiff:(NativeRenderBaseListViewDataSource *)another
}];

BOOL success = YES;
[UIView setAnimationsEnabled:NO];
if ([batchUpdate count]) {
[UIView setAnimationsEnabled:NO];
@try {
[view performBatchUpdates:^{
for (NSInvocation *invocation in batchUpdate) {
Expand Down

0 comments on commit 1e1af4c

Please sign in to comment.