javascript - How to change position of draggable element when dragging starts? -


jquery gets incorrect top position (correct 650) of draggable element , jumps down 902 after dragging starts. draggable element positioned absolute, parents static (with relative parents works has static). occurs when document height bigger window height.

offset object { top=650, left=1265.25}  originalposition object { top=902, left=1265.25}  position object { top=902, left=1265.25} 

is there way set proper position? help.


Comments

Popular posts from this blog

php - SPIP: From Tag directly to an article -

jquery - isAjaxRequest always return false -

ruby on rails - In a controller spec, how to find a specific tag in the generated view? -