Skip to content

Slots resolving issue on subsequent components #7710

Closed
@miljan-aleksic

Description

@miljan-aleksic

Version

2.5.13

Reproduction link

https://codesandbox.io/s/316wjk4w41

Steps to reproduce

As stated by the docs slots() in fn components should be used only when the component knows about them, otherwise should pass along the children and the next component could deal with them.

What is expected?

I would expect that all children component would resolve slots correctly as long as children are passed along.

What is actually happening?

Only the initial component gets resolved the slots well, while any subsequent component that gets the children passed along doesn't.

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