Skip to content
This repository has been archived by the owner on Mar 12, 2024. It is now read-only.

Enhancement: Make sortable via touch for mobile #3

Open
knownasilya opened this issue Jan 19, 2015 · 5 comments
Open

Enhancement: Make sortable via touch for mobile #3

knownasilya opened this issue Jan 19, 2015 · 5 comments

Comments

@knownasilya
Copy link

Probably the most needed feature.. jquery-ui's sortable doesn't support it, but there are some hacks on the web. Maybe pick the best one, clean it up and add it.

@knownasilya
Copy link
Author

Another option is to not use jquery-ui, but something like https://github.com/RubaXa/Sortable

Especially since jquery-ui is kinda bloated.

@justinph
Copy link

@knownasilya I've had luck using jQuery Touch Punch: http://touchpunch.furf.com/

@omghax
Copy link
Contributor

omghax commented Feb 18, 2015

I'll admit that jQuery UI is bloated, but it's also well-tested. I can use jquery.simulate to write my own unit tests against it, like so: https://github.com/IvyApp/ivy-sortable/blob/master/tests/unit/views/ivy-sortable-test.js#L80-L84.

I would love to move to something more lightweight that made use of native HTML5 drag and drop, but unfortunately the libraries I've looked at weren't built with testability in mind. If you've found any that are, I'd be willing to take a crack at integrating them.

@knownasilya
Copy link
Author

@omghax will keep a look out.

@knownasilya
Copy link
Author

@omghax what about https://github.com/bevacqua/dragula, although no tests once again..

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants