Opened 8 years ago

Closed 8 years ago

#8127 closed bug (fixed)

collision:flip should be supported for at:center

Reported by: Jörn Zaefferer Owned by:
Priority: minor Milestone: 1.9.0
Component: ui.position Version: 1.8.18
Keywords: Cc:
Blocked by: Blocking:

Description

For some reason we bail out of flip collisioning for at:center. Doesn't make sense to me: Even if the centered positioning stays the same, by flipping the positioned element around that position, we still get a different result.

So for { my: "left top", at: "center" } I'd get a { my: "right bottom", at: "center" } when collisioning in both dimensions. That's useful, isn't it?

Change History (2)

comment:1 Changed 8 years ago by Jörn Zaefferer

Status: newopen

comment:2 Changed 8 years ago by Jörn Zaefferer

Resolution: fixed
Status: openclosed

Position: Remove at-center guards, take at:center into account instead. Fixes #8127 - collision:flip should be supported for at:center

Changeset: c660d679b1215004f3eb27d09a4f0059b0fd9b34

Note: See TracTickets for help on using tickets.