-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Open
Milestone
Description
For elements that are positioned statically or relatively, intros that happen at the same time as outros can be problematic:
{{#if foo}}
<div transition:fade='{duration:1500}'>yep</div>
{{else}}
<div transition:fade='{duration:1500}'>nope</div>
{{/if}}Vue has a nice solution to this β transition modes. Since Svelte doesn't have an equivalent of <transition>, the concept doesn't translate directly, but it would be nice to be able to express something similar without the hacky use of delay.
devrnt, elpres, The1029, niketpathak, MarioGruda and 24 more
