3 ms·
Ah, ok. Good to know. You just listen to the drop events and then update the state of react?
by rpwverheij 12y ago
Ah, ok. Good to know. You just listen to the drop events and then update the state of react?
- mikewhy 12y agoYup, but it's not necessarily UI state that gets updated, just something that maps draggables to where they've been dropped.
- rpwverheij 12y agoyes, like updating the position in a sorted list you mean right. And did you also get it to work with touch events on mobile? I have an open question about that on SO http://stackoverflow.com/questions/27837500/drag-and-drop-with-touch-support-for-react-js http://stackoverflow.com/questions/27837500/drag-and-drop-wi...
- mikewhy 12y agoSimply adding jquery-ui.touch-punch[0] monkey patched jquery-ui without us having to do anything else. [0]: http://touchpunch.furf.com/ http://touchpunch.furf.com/