Skip to main content

Search and Top Navigation

#8127 closed bug (fixed)

Opened February 21, 2012 02:06PM UTC

Closed April 24, 2012 03:51PM UTC

collision:flip should be supported for at:center

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

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?

Attachments (0)
Change History (2)

Changed February 27, 2012 03:33PM UTC by jzaefferer comment:1

status: newopen

Changed April 24, 2012 03:51PM UTC by Jörn Zaefferer comment:2

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