Skip to content

Why isn't ViewEncapsulation automatically determined based on availability? #7394

@chaim770

Description

@chaim770

According to the docs, the default component encapsulation is ViewEncapsulation.Emulated.

Why can't the framework automatically determine whether ShadowDOM is indeed supported or not (pretty easy) and act accordingly (by default)?

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