tinro icon indicating copy to clipboard operation
tinro copied to clipboard

transiton out problem

Open freeseamew opened this issue 2 years ago • 2 comments

There is one inquiry to use the transiton effect.

If you give both in and out effects as follows,

Even if delay is set on in, both components appear and disappear during out effect.

How can I solve this problem?

{#key $router.path}
    <div in:fly="{{ x:300, duration: 400, delay:500}}" out:fade="{{ duration: 500}}" >
        <slot></slot>
    </div>
{/key}

freeseamew avatar Aug 16 '21 02:08 freeseamew