bitovi/jquerypp

Window moves underneath the cursor when starting a drag with representative()

Open

#127 建立於 2016年10月5日

在 GitHub 查看
 (1 留言) (0 反應) (0 負責人)JavaScript (1,219 star) (167 fork)batch import
bughelp wanted

描述

When I use representative() to make an element draggable by just its child, the window jumps underneath the cursor such that the window’s top-left corner is under the cursor.

Demo: http://jsfiddle.net/eveLzaaw/2/ representative bug

貢獻者指南