Skip to main content

Search and Top Navigation

#8147 closed bug (fixed)

Opened February 29, 2012 12:20PM UTC

Closed February 29, 2012 01:00PM UTC

Last modified February 29, 2012 01:08PM UTC

Position: Documentation for flip collision says it falls back to center

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

From the documentation of position/options/collision:

flip: to the opposite side and the collision detection is run again to see if it will fit.
If it won't fit in either position, the center option should be used as a fall back.

While I am not entirely sure what "the center option" is, I assume it means that it should be positioned in the middle of the element instead of default position. This doesn't seem to work. Another option would be that "fit" is the fallback for "flip", since this would make sure that the elements is visible if possible.


my: left,bottom

at: left,top

collision: flip

Now try resizing the browser window so it can't fit over OR under. There seems to be no fallback at all.

Attachments (0)
Change History (3)

Changed February 29, 2012 01:00PM UTC by scottgonzalez comment:1

resolution: → fixed
status: newclosed
summary: Flip collision fallback doesn't workPosition: Documentation for flip collision says it falls back to center

That's a documentation bug.

Changed February 29, 2012 01:06PM UTC by Mamen comment:2

In that case, this ticket should be updated to either "documentation bug" so it will fixed, or "enhancement" since it would make position better.

Changed February 29, 2012 01:08PM UTC by scottgonzalez comment:3

It is fixed. Did you see the resolution?