Skip to content

Named slot won't render #7817

Closed
@privatenumber

Description

@privatenumber

Version

2.5.15

Reproduction link

https://jsfiddle.net/hirokiosame/dronjdzm/63/

Steps to reproduce

The jsfiddle link reproduces the issue but it's a pretty intricate combination that reproduces it.

Removing the slot="namedSlot from the div and wrapping it with <template slot="namedSlot">, or removing the usage of the functional component noOp, or disabling reactivity via changing undefined tofalse` on L20 or removing the dependency on L9 will fix the issue.

What is expected?

For the named slot to render. In the case of the reproduction, the "THIS TEXT SHOULD RENDER" text.

What is actually happening?

The named slot is not rendering.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions