Skip to content

[Vue SSR]: Scoped data attributes aren't passed down to functional components #5817

@Hebilicious

Description

@Hebilicious

Version

3.2.25

Reproduction link

stackblitz.com

Steps to reproduce

Create a component with a scoped style (parent)
Create a regular component with a template tag (children)
Create a functional component that uses h (children)

The regular children inherit the data attribute from the parent
The functional children doesn't inherit the data attribute from the parent.

What is expected?

The child functional component should receive the data attributes as if it were a template component

What is actually happening?

Functional and Regular component behaves differently in this instance :

image


Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions