mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-10-18 21:16:47 +00:00
e7ccbcdf86
A finger never starts an HTML5 drag on Android, and the answer used to be drag-drop-touch: a document-wide polyfill that turned every touch over a draggable element into a drag. That cost the places list its scrolling (#1432) and the map its one-finger pan (#1440), so it now only loads on hybrid laptops. This is the narrow version. It only watches touches that begin on a draggable row inside a container that opted in, and it waits out a long press before claiming the gesture, so a swipe is still a swipe. Once armed it replays the real drag sequence on the element under the finger, which leaves every existing drop handler working as it is. Nothing is wired up to it yet.