Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#7694 closed bug (notabug)

Relatively or absolutely positioned body causes incorrect helper placement

Reported by: David Mulder Owned by:
Priority: minor Milestone: 1.9.0
Component: ui.sortable Version: 1.8.15
Keywords: Cc:
Blocked by: Blocking:

Description

As described in summary, a relatively or absolutely positioned body element will cause an offset for the helper, as shown in http://jsfiddle.net/bajG4/ . (And I am aware of the fact that setting the position of the body element in this way is - to say the very least - odd, but there are certain cases where this is quite useful). Personally I already solved this problem using an ugly help where I force the helper to position itself correctly and I attempted solving the underlining problem, but didn't have enough time.

Change History (3)

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

Resolution: invalid
Status: newclosed

jQuery and jQuery UI don't support modifying the positioning of the body.

comment:2 Changed 12 years ago by David Mulder

Isn't that exactly the bug I am referring to? Because it's a perfectly valid thing to do and there are no real technical reasons for it not to function.

comment:3 Changed 12 years ago by Scott González

There are technical reasons for this. My comment is not that jQuery happens to not work, it's that we have explicitly decided not to support this, just like we've decided not to support modifying Object.prototype.

Note: See TracTickets for help on using tickets.