Skip to content

Restart css animations after hydration in dev mode #8194

@rodshtein

Description

@rodshtein

Describe the bug

There was a closer issue, but I can't find it.

Reproduction

The issue can be reproduced only in a specified elements order.
If change the elements order, the issue will solved.

issue order

<svelte:head/>   
<Comp />
<div />  ← css animation

no issue orders

<svelte:head/>   
<div />
<Comp />

~or~

<Comp />
<div />
<svelte:head/>

Or without <Comp /> or <svelte:head/>

Stackblitz reproduction

Severity

annoyance

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions