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

贡献者指南