javascript - Simple drag 'n' drop element motion is jerky -


please take here jsfiddle mock-up

move orange square around. should jerky. change left: 0 track , there's no problem.

why happening?

e.pagex position on screen this.style.left position inside of div track


Comments

Popular posts from this blog

linux - xterm copying to CLIPBOARD using copy-selection causes automatic updating of CLIPBOARD upon mouse selection -

c++ - qgraphicsview horizontal scrolling always has a vertical delta -