Skip to content

Added delay for touch drag on boards

Nick Leonard requested to merge nl-boards-touch-drag into master

What does this MR do and why?

Adds a delay when moving board cards or lists on touch devices, allowing separation between drag to scroll (no delay/touch drag) and drag to move card (100ms delay/long-press drag)

Screenshots or screen recordings

Before After
board-before board-after

How to set up and validate locally

From a touch device

  1. Open any issue board
  2. Long-press a card to move the card up or down the list or to a different list
  3. Long-press a list to move the list (note: open/closed are never moveable)
  4. Drag without holding to scroll the view

Confirm on non-touch device

  1. Open any issue board
  2. Click and drag (without holding) a card to move the card up or down the list or to a different list
  3. Click and drag a list to move
  4. Scroll the view using normal scroll controls

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Closes #383434 (closed)

Edited by Nick Leonard

Merge request reports

Loading