Wait 500 milliseconds before starting drag on touch.
This allows users to scroll the item bank with their finger without accidentally starting to drag items. Mouse drag events still start without a delay, since scrolling works differently on desktops. I found no way to implement this with jQuery UI draggable, so I had to reimplement drag and drop interactions, which in some ways makes it cleaner because it doesn't bypass virtualDOM.
Showing
1.7 KB
212 Bytes
208 Bytes
335 Bytes
207 Bytes
262 Bytes
262 Bytes
332 Bytes
280 Bytes
This source diff could not be displayed because it is too large.
You can
view the blob
instead.