Skip to content

Commit b98b6c7

Browse files
committed
note to self
1 parent 8738be0 commit b98b6c7

File tree

1 file changed

+4
-0
lines changed
  • packages/svelte/src/internal/client/dom/blocks

1 file changed

+4
-0
lines changed

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -456,6 +456,10 @@ function reconcile_tracked_array(array, each_block, anchor, render_fn, flags, ke
456456
}
457457

458458
if (to_animate.length > 0) {
459+
// TODO we need to briefly take any outroing elements out of the flow, so that
460+
// we can figure out the eventual destination of the animating elements
461+
// - https://github.com/sveltejs/svelte/pull/10798#issuecomment-2013681778
462+
// - https://svelte.dev/repl/6e891305e9644a7ca7065fa95c79d2d2?version=4.2.9
459463
user_effect(() => {
460464
untrack(() => {
461465
for (block of to_animate) {

0 commit comments

Comments
 (0)