Skip to content

Add support for cancelling drag on Escape key press

Kushal Pandya requested to merge 372217-cancel-drag-on-esc-keypress into master

What does this MR do and why?

This MR adds support for cancelling the drag operation on Child issues and epics tree when Esc is pressed.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Screen_Recording_2023-05-02_at_5.32.38_PM

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

  1. Visit an epic
  2. Add a few child issues and epics
  3. Grab one of the child item and start dragging it
  4. While drag is still active (i.e. mouse button is still held), press Esc key, the item should move back to its position without causing a change in order.

MR acceptance checklist

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

Related to #372217 (closed)

Merge request reports