Opened 14 years ago

Closed 14 years ago

#3607 closed bug (fixed)

Draggable div not constrained within containing div when window scrollbars moved

Reported by: Wobble Owned by:
Priority: major Milestone: 1.7
Component: ui.draggable Version: 1.6rc2
Keywords: Cc:
Blocked by: Blocking:


I've looked at other open bugs; #3568 looked similar, but I have checked, and this problem still seems to persist with the SVN version.

I have a container div. I have a square div within that, which I set as draggable, and add the "parent" constraint. This all works perfectly, but when the browser window is small enough to induce scrollbars and the scrollbar is not at its original position, the square can be dragged outside of the container - seemingly by the amount by which I've scrolled from the default scrollbar position.

There's a little video of the problem here:

A live example of the code is here (I've attached the HTML to the ticket as well):

Attachments (1)

test-svn.html (669 bytes) - added by Wobble 14 years ago.
Test Case

Download all attachments as: .zip

Change History (3)

Changed 14 years ago by Wobble

Attachment: test-svn.html added

Test Case

comment:1 Changed 14 years ago by Scott González

Milestone: TBD1.6
Priority: minormajor

comment:2 Changed 14 years ago by paul

Resolution: fixed
Status: newclosed

Fixed in r1554.

Note: See TracTickets for help on using tickets.