Skip to content

nested component in custom element does not inherit style #2605

Closed
@rspieker

Description

@rspieker

Having a custom element built using Sveltes' component inclusion results in the included component style not being inherited.
This appears to come from the premise that if the main component is a custom element, all components inside it must be custom elements too, whereas this is not fully reflected by the compiled code.

demo repo demonstrating the issue

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