Positioning problem with ui.dialog

Positioning problem with ui.dialog


Hi List,
I have a positioning problem with ui.dialog if the document.body has
an offset other than 0 and is position: relative or absolute. The
dialog will jump away from the mouse-pointer when dragging or
resizing the dialog.
This is probably caused by a funny behaviour of jquery.offset which
will only give you the the offset to the body and not to the document
in case the document.body has an offset other than 0 and is position:
relative or absolute.
Has anybody else encountered this problem or am I missing anything?
Greetings, Tobias