Opened 12 years ago

Closed 12 years ago

Last modified 10 years ago

#6653 closed bug (notabug)

Transfer effect misses target

Reported by: V1 Owned by:
Priority: minor Milestone:
Component: ui.effects.* (individual effect) Version: 1.8.6
Keywords: Cc:
Blocked by: Blocking:


The jQuery ui transfer effect misses it's target element if a margin ( auto ) has been applied to the body element. When you resize the browser, it only get worse.

Reproducible bug case:

You can "patch" this case by changing the appendTo(document.body) => appendTo(document.documentElement) but if a user applies margins to the HTML element this will reproduce the same issue. So the best thing would probably to detect if the element that we are appending to has a margin or padding applied.

The offeset() method however reports top and left of 0 for the body and documentElement we should be using jQuery.css(document.documentElement, "marginLeft") to get the correct position of the root elements.

Change History (2)

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

Resolution: invalid
Status: newclosed

We don't support any position or dimension settings on html or body.

comment:2 Changed 10 years ago by Scott González

Milestone: TBD

Milestone TBD deleted

Note: See TracTickets for help on using tickets.