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
Repl Description
In this repl there are three buttons. First one toggles a transition and display a hidden block. Inside this block there are two more buttons which change value b that has conditions on it and after changing a value the block gets hidden.
The problem is variable b inside template is not getting updated nor before nor after the out transition. It is only updated when first button is clicked once again, to reveal hidden element.
Same happens if I use stores instead of reactive variable b. Which is how I've discovered this problem in my project.
Expected behavior
Variable b is updated before transition is run.
Additional context
Might be related with: #4064#4696
The text was updated successfully, but these errors were encountered:
To Reproduce
https://svelte.dev/repl/60298ac9b7854a6a99b814fb17e54353?version=3.23.0
Repl Description
In this repl there are three buttons. First one toggles a transition and display a hidden block. Inside this block there are two more buttons which change value
b
that has conditions on it and after changing a value the block gets hidden.The problem is variable
b
inside template is not getting updated nor before nor after theout transition
. It is only updated when first button is clicked once again, to reveal hidden element.Same happens if I use stores instead of reactive variable
b
. Which is how I've discovered this problem in my project.Expected behavior
Variable
b
is updated before transition is run.Additional context
Might be related with: #4064 #4696
The text was updated successfully, but these errors were encountered: