Skip to content

Commit f028938

Browse files
committed
fix: apply key animations on proxed arrays
1 parent 8b8b8c6 commit f028938

File tree

1 file changed

+2
-1
lines changed
  • packages/svelte/src/internal/client

1 file changed

+2
-1
lines changed

packages/svelte/src/internal/client/each.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -418,7 +418,8 @@ function reconcile_tracked_array(
418418
}
419419
} else {
420420
var is_animated = (flags & EACH_IS_ANIMATED) !== 0;
421-
var should_update_block = (flags & (EACH_ITEM_REACTIVE | EACH_INDEX_REACTIVE)) !== 0 || is_animated;
421+
var should_update_block =
422+
(flags & (EACH_ITEM_REACTIVE | EACH_INDEX_REACTIVE)) !== 0 || is_animated;
422423
var start = 0;
423424

424425
/** @type {null | Text | Element | Comment} */

0 commit comments

Comments
 (0)