Skip to content

Group append causes reflow #1

@FrameMuse

Description

@FrameMuse

Group causes reflow because when it's appended it puts relay element with connectedCallback that fires once connected, which triggers new appends and replacement of this relay.

Image

⬇️

Image

It's not entirely clear if this is a problem indeed, but one of the solution could be appending elements directly to DocumentFragment when group is not connected, so that it can connect nodes without relay.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions