bitovi/jquerypp

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

Open

#127 opened on Oct 5, 2016

View on GitHub
 (1 comment) (0 reactions) (0 assignees)JavaScript (1,219 stars) (167 forks)batch import
bughelp wanted

Description

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

Contributor guide