Skip to main content

Search and Top Navigation

#8481 closed bug (fixed)

Opened August 09, 2012 11:20AM UTC

Closed August 17, 2012 02:36PM UTC

Last modified August 17, 2012 02:38PM UTC

Position in flip mode does not take into consideration scrollTop and scrollLeft

Reported by: roman.chizhevsky Owned by:
Priority: minor Milestone: 1.9.0
Component: ui.position Version: 1.8.22
Keywords: Cc:
Blocked by: Blocking:
Description

Position utility - http://wiki.jqueryui.com/w/page/12138026/Position

1. jQuery - 1.7.2, Jquery UI 1.8.22

2. IE9, FF

3. Windows 7 Enterprise

4. Instruction on how to reproduce the issue:

a. Create an example of Use position utility with flip functionality like this one http://jsfiddle.net/DV6j7/1/

b. Use for example vertical scrollbar to scroll down

c. See that the positionable elements are not flipped down and hidden out from the view port

5. Flipping from the right side and from the bottom side correctly consider the scrolling, but left and top flipping does not work.

6. Working demo/test: http://jsfiddle.net/DV6j7/1/

Attachments (0)
Change History (4)

Changed August 09, 2012 11:37AM UTC by roman.chizhevsky comment:1

To help with fix, you probably should know that there is a relevant ticket already fixed before: #7211 http://bugs.jqueryui.com/ticket/7211

Though, the change log shows that you fixed it only for the fit collision mode, not for flip:

https://github.com/jquery/jquery-ui/commit/5e44b3ce8851f62a38ce9211c6721e1050e2dabf

Thank you,

-Roman

Changed August 09, 2012 11:50AM UTC by scottgonzalez comment:2

component: ui.coreui.position

Changed August 17, 2012 02:36PM UTC by scottgonzalez comment:3

resolution: → fixed
status: newclosed

Changed August 17, 2012 02:38PM UTC by Scott González comment:4

Position: Properly handle flip collision when the window is scrolled. Fixes #8481 - Position in flip mode does not take into consideration scrollTop and scrollLeft.

Changeset: 651460792b3aeb7f05cbad5dc8f7b2276bdd9b29