You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 20, 2026. It is now read-only.
When prepending elements, the order is correctly maintained in ElementNode.insertChild by using an anchor.
So ElementNode.children is correct, but the order of ElementNode.lng.children is not.
Not sure how to fix that when the lightning renderer doesn't support passing an anchor element.
The only way would be to manually correct parent.lng.children after lightning node is created.
Element prepended will be displayed above it's siblings, instead of below, unlike how it would happen if rendered initially alongside it's siblings.
before:

after:

When prepending elements, the order is correctly maintained in
ElementNode.insertChildby using an anchor.So
ElementNode.childrenis correct, but the order ofElementNode.lng.childrenis not.Not sure how to fix that when the lightning renderer doesn't support passing an anchor element.
The only way would be to manually correct
parent.lng.childrenafter lightning node is created.