Skip to content

<svelte:component this={page} /> adds a component instead of replacing it #6779

@hcrohland

Description

@hcrohland

Describe the bug

When using transitions and stores in a svelte component the directive <svelte:component this={page} /> does add the component to the bottom when 'page' changes.

Reproduction

https://svelte.dev/repl/4484e9f2c4214cc6a85e8371bac76dbc?version=3.43.0

Logs

No response

System Info

firefox and chrome...

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