You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text was updated successfully, but these errors were encountered:
trbrc
changed the title
Component top level each-else in wrong place when wrapped in if
Component with top level each-else appears in wrong place when wrapped in if
May 31, 2019
This bug appears when a child component has a top level
{#each}...{:else}...{/each}
loop:and it's rendered inside an
{#if}{/if}
in the parent:Whenever the
:else
section of the child is triggered, the child will be incorrectly inserted after any supposed next siblings.See REPL for repro: https://svelte.dev/repl/90911dadba184df481f7d44d7e0c0058?version=3.4.4
Click the button twice to see how the pink text in the second example ends up in the wrong place.
The text was updated successfully, but these errors were encountered: