Skip to main content

Search and Top Navigation

#7694 closed bug (notabug)

Opened September 05, 2011 06:33AM UTC

Closed September 05, 2011 06:30PM UTC

Last modified September 06, 2011 12:01PM UTC

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.

Attachments (0)
Change History (3)

Changed September 05, 2011 06:30PM UTC by scottgonzalez comment:1

resolution: → invalid
status: newclosed

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

Changed September 06, 2011 06:08AM UTC by David Mulder comment:2

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.

Changed September 06, 2011 12:01PM UTC by scottgonzalez comment:3

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.