When given the choice between overlapping horizontally or vertically, iron-fit-behavior now chooses to first try with vertical overlap, and then check horizontal overlap.
In this way, in the cases where there's enough space for both options, the element will be positioned like [1] instead of like [2].
When given the choice between overlapping horizontally or vertically,
iron-fit-behavior
now chooses to first try with vertical overlap, and then check horizontal overlap. In this way, in the cases where there's enough space for both options, the element will be positioned like [1] instead of like [2].[1]
[2]