Files
luci/modules
Paul Donald 4d04877e0f luci-base: fix click and drag handling
Previously when a table has the sortable property true, the
whole row was draggable but without any useful effect on desktop
or mobile. Only commencing the drag from the drag button worked
as intended. This interfered with text selections or other actions
in the table row.

Now the drag and touch events are bound to the drag button only.
The result is the same but the row contents are now selectable.

This change works on both desktop and touch only devices like
mobile.

Signed-off-by: Paul Donald <newtwen+github@gmail.com>
2026-01-29 06:04:25 +01:00
..