Skip to content

Scoped styling isn't applied to the first node in a nested functional SFC #1543

Open
@rkomiyama

Description

@rkomiyama

Version

15.7.0

Reproduction link

https://codesandbox.io/s/my8338v6xj

Steps to reproduce

Create a functional SFC, and then create a functional child SFC within it. Create scoped styling for both parent and child functional SFCs.

What is expected?

Scoped styling should work in the functional child SFC for all of its nodes.

What is actually happening?

The scoped styling for the child functional SFC is not being applied to the first node. The styling will only work when scoped is removed from the child's style tag.

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