briangonzalez / jquery.pep.js

👟 Pep, a lightweight plugin for kinetic drag on mobile/desktop
http://pep.briangonzalez.org
1.3k stars 178 forks source link

Using pep.moveTo(x, y) move the element without animation #208

Open odai-alali opened 7 years ago

odai-alali commented 7 years ago

This happens when using moveTo() is called before any mouse interaction with the element.

try to click the button in this jsfiddle without clicking on the element.