-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Closed
Labels
Description
Sorry for the vague title. It's late.
Using transitions seems to break basic functionality in some circumstances. By basic functionality I mean a simple if
clause in the template, like so:
{#if condition}
<Child/>
{/if}
...where the <Child/>
is using transitions.
Reproduction: https://svelte.dev/repl/2e801ddf39f646709a3aa1b74f727f71?version=3.6.5
Instructions (also included in the REPL):
- Click the button to show the child component
- Write something in the input to reveal (with an animation) the close-button
- Click the close button and observe how the app breaks (not closing the child component)
nodefish, alexobenauer, tvanc, maxdhn and GiorgosK