Skip to content

passing props to unnamed slot when there are more than 1 slots passes the variable to the wrong slot #7084

@odama626

Description

@odama626

Describe the bug

when having a named slot and an unnamed slot, passing a variable to the unnamed slot provides it to the first slot and not necessarily the unnamed one

Reproduction

https://svelte.dev/repl/cb94e73b99dc4847b739e370e9eddbb2?version=3.44.3

Logs

No response

System Info

was able to reproduce in repl

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