Skip to main content

Bug Tracker

Side navigation

#996 closed bug (wontfix)

Opened February 23, 2007 10:02PM UTC

Closed March 31, 2008 01:30AM UTC

Interface sortable containment:'parent' dragged item not positioned correctly

Reported by: kristian Owned by: stefan
Priority: major Milestone: 1.1.3
Component: interface Version: 1.1.1
Keywords: containment sortable wrong position Cc:
Blocked by: Blocking:
Description

When the parameter containment:'parent' is set in a sortable, the dragged item jumps to the left of the window. The y-axis seems to be working as required, but the x-coordinate seems to be set to 0.

Attachments (0)
Change History (3)

Changed March 16, 2007 11:10AM UTC by mike@pepperd comment:1

Line 253 of idrag.js should read:

jQuery.iUtil.getPosition(elm.parentNode),

Not:

{x:0,y:0},

Changed April 26, 2007 12:54AM UTC by eric comment:2

I can confirm this. This problem effects isortables.js too.

Mike's suggested fix seems to work for me.

Changed March 31, 2008 01:30AM UTC by scott.gonzal comment:3

description: When the parameter containment:'parent' is set in a sortable, the dragged item jumps to the left of the window. The y-axis seems to be working as required, but the x-coordinate seems to be set to 0.\ When the parameter containment:'parent' is set in a sortable, the dragged item jumps to the left of the window. The y-axis seems to be working as required, but the x-coordinate seems to be set to 0. \
need: → Review
resolution: → wontfix
status: newclosed

Interface is no longer supported; consider switching to jQuery UI.