Ticket #8127 (closed bug: fixed)

Opened 15 months ago

Last modified 13 months ago

collision:flip should be supported for at:center

Reported by: joern.zaefferer Owned by:
Priority: minor Milestone: 1.9.0
Component: ui.position Version: 1.8.18
Keywords: Cc:
Blocking: Blocked by:

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

comment:1 Changed 15 months ago by joern.zaefferer

  • Status changed from new to open

comment:2 Changed 13 months ago by Jörn Zaefferer

  • Status changed from open to closed
  • Resolution set to fixed

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.