Skip to content

Wait for included css to be fully loaded before instantiating a component / finishing the compilation #1694

@tbosch

Description

@tbosch

Use case:

A component needs to know how high it is. Right now it would schedule a promise / eventually use the new size event (see #1693). However, if we don't wait for nested CSS to be fully loaded before we instantiate a component the component has no way of knowing the right size.

The problem probably only appears for NativeShadowDomStrategy, as in the emulated mode we load nested stylesheets manually.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions