I would expect all items to have the same intro en outro effect, see the bug in action in this REPL demo in version 3.2.0.
The code:
<script>
import { fade } from 'svelte/transition';
let checked = true;
</script>
<label>
<input type=checkbox bind:checked> Trigger
</label>
{#if checked}
{#each [1] as x }
<p in:fade out:fade>if each in out</p>
<p transition:fade>if each transition</p>
{/each}
<p in:fade out:fade>if in out</p>
<p transition:fade>if transition</p>
{/if}
I would expect all items to have the same intro en outro effect, see the bug in action in this REPL demo in version
3.2.0.The code: