We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d5ba3e2 commit d331f66Copy full SHA for d331f66
packages/svelte/src/internal/client/dom/blocks/branches.js
@@ -97,8 +97,9 @@ export class BranchManager {
97
}
98
99
100
- // outro/destroy effects
+ // outro/destroy all onscreen effects...
101
for (const [k, effect] of this.#onscreen) {
102
+ // ...except the one that was just committed
103
if (k === key) continue;
104
105
const on_destroy = () => {
0 commit comments