List Box insert at position 0 erratic behavior on Drag and Drop
Hello, everyone,
I think I found a bug in the list_box when reordering child list_box_row with drag and drop. If I drop a child at position 0, the current list_box container doesn't visually include all the other elements. I don't have any warning or errors in the Terminal, and the inspector doesn't show any abnormality, the issue is visible only in the UI.
Example, this is my initial status:
Artboard has the list_box
container which lists 3 list_box_row
.
With CSS, I'm adding a zebra background to every odd child.
Additionally, I'm applying a border-bottom to the last child (eg. triangle).
If I drag the Triangle row and drop it at position 0, on top of the Rectangle row, this is the result
As you can see, the Triangle kept the border-bottom like it was the last child, while the zebra coloring starts after ignoring the first row, like it wasn't in the container.
Any other drag and drop action not on Position 0 works as expected.