Skip to content

encapsulation: ViewEncapsulation.Native on a View breaks where the styles are appended #4513

@rolandjitsu

Description

@rolandjitsu

After transitioning to the latest alpha version, I noticed that when I use encapsulation: ViewEncapsulation.Native on my views, the <style></style> tags get appended to the wrong places. Actually, each style tag gets duplicated in each shadow root.

But encapsulation: ViewEncapsulation.Emulated works just fine.

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