bitovi/jquerypp

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

Aperta

#127 aperta il 5 ott 2016

 (1 commento) (0 reazioni) (0 assegnatari)JavaScript (167 fork)batch import
bughelp wanted

Metriche repository

Star
 (1219 stelle)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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

Guida contributor