Skip to content

Commit 1e2958e

Browse files
committed
reinstate kludge
1 parent c3db9ac commit 1e2958e

File tree

1 file changed

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

1 file changed

+7
-0
lines changed

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

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -285,6 +285,13 @@ export class Boundary {
285285
this.#anchor.before(this.#offscreen_fragment);
286286
this.#offscreen_fragment = null;
287287
}
288+
289+
// TODO this feels like a little bit of a kludge, but until we
290+
// overhaul the boundary/batch relationship it's probably
291+
// the most pragmatic solution available to us
292+
queue_micro_task(() => {
293+
Batch.ensure().flush();
294+
});
288295
}
289296
}
290297

0 commit comments

Comments
 (0)