Problem
The test case as shown in WorldSEnder@71dd160 should work.
Steps To Reproduce
- Render a list and swap the order of multiple, successive elements in the list.
- The elements will appear out of order
Environment:
Analysis:
The rendering code in vlist::apply_keyed only moves a node if it appears out-of-order relative to the next element, when compared against the new incoming render order. This is wrong. When multiple children are moved, only the first (in render order) child that changes in the order is recognized as out-of-order and moved.
Probably introduced as part of #1555 .
Questionnaire
Problem
The test case as shown in WorldSEnder@71dd160 should work.
Steps To Reproduce
Environment:
masterAnalysis:
The rendering code in
vlist::apply_keyedonly moves a node if it appears out-of-order relative to the next element, when compared against the new incoming render order. This is wrong. When multiple children are moved, only the first (in render order) child that changes in the order is recognized as out-of-order and moved.Probably introduced as part of #1555 .
Questionnaire