vishalok12 / jquery-dragarrange

A Basic jQuery library to arrange/order DOM elements by dragging http://vishalok12.github.io/jquery-dragarrange/
MIT License
40 stars 18 forks source link

Touch updates; auto scroll; multi-container #3

Open velvetshoehorn opened 9 years ago

velvetshoehorn commented 9 years ago

Greetings Vishalok12,

First, thank you for your original work on the jQuery drag arrange plugin! I really like it's compactness and straight forward approach. I was using it on a site I'm developing when I ran into some issues (with Windows 10). The main problem was that I'd drag an element down to put it lower on the list but when I hit the edge of the window, I'd have to drop it because it wouldn't scroll... OR... as soon as I'd touch something it would start scrolling and make a moving target to try to hit.

So instead of just using another plugin (most were a lot bigger and still had other issues), I thought I'd see what it would take to update this one to improve the experience in Windows 10 and on some touch devices. My testing device collection, however, is limited. I can't prove that it works everywhere (in fact, I know it doesn't on old iPhones). But I thought you might be interested in the update. If you like it great! If not, I've still got the fork.

Nice work!