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
When an if block contains a transition-enabled component that reads from the same store the if block does, the if block will linger after the out transition is finished.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Describe the bug
When an if block contains a transition-enabled component that reads from the same store the if block does, the if block will linger after the out transition is finished.
To Reproduce
REPL: https://svelte.dev/repl/8047903b1d964d48bd0662b8f4a392b7?version=3.37.0
This repl contains the simplest conditions I've found so far for this bug to occur. These conditions are as follows:
To witness the bug, select "Motion" tab in the menu, then move to any other tab. The "Motion" tab will still be visible alongside the correct tab.
Expected behavior
I expect only one of the if blocks to be visible at a time.
Information about your Svelte project
REPL was tested in Firefox 88 and Chrome 89 under OSX. Current Svelte version is 3.37.0
Severity
There is a workaround. Without it, the transition system is unusable in this case.
The text was updated successfully, but these errors were encountered: