-
Notifications
You must be signed in to change notification settings - Fork 77
Incorrect ordering of sibling widgets #200
Copy link
Copy link
Closed
Labels
bugSomething isn't workingSomething isn't workingneeds back-portThe fix requires back porting to one or more previous major versionsThe fix requires back porting to one or more previous major versionsnextIssue/Pull Request for the next major versionIssue/Pull Request for the next major version
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingneeds back-portThe fix requires back porting to one or more previous major versionsThe fix requires back porting to one or more previous major versionsnextIssue/Pull Request for the next major versionIssue/Pull Request for the next major version
Type
Fields
Give feedbackNo fields configured for issues without a type.
Bug
The vdom engine uses sub-tree rendering to only re-render sections of the application tree, when processing the invalidation events they are ordered by depth and then rendered from shallowest to deepest. However if there are two widgets at the same depth the ordering in which they are rendered is dependant on the order in which they are invalidated. This can in certain scenarios cause the DOM to be rendered in the incorrect order.
The result of these renders should be:
However due to the order that invalidations occur the resulting DOM structure appends
<bar>before<foo>: