html5sortable
html5sortable copied to clipboard
Doesn't work with touch events
Works great on my UI in Chrome until I click the button ("toggle device toolbar"). After that, nothing.
Hey, sadly it is a bit more complex, as drag events don't work on mobile same for this example: https://developer.mozilla.org/en-US/docs/Web/Events/dragstart.
To add this feature I think you would need to build something using touch events.
I would love it if you could send a PR for it. I will gladly assist you if you need any input.
@ScottBeeson & @lukasoppermann I know this issue is old, but I came across a "Drag & Drop touch polyfill" on github https://github.com/Bernardo-Castilho/dragdroptouch/blob/master/DragDropTouch.js and it just seems to work.
Could be a solution to just include it or look at what its doing and replicate it.
Hey @mike16889 thank you for the link. Would you like to send a PR to add this?
@lukasoppermann I'm not really sure what would be required to integrate it, it may just be a better idea to put a note in the reader, something along the lines of touch support can be added by including the drag & drop touch polyfill" with a link to the git.
Hey @mike16889, great idea. Would you like to send a PR updating the Readme.md file? If so, please link to the repos main page https://github.com/Bernardo-Castilho/dragdroptouch