gridstack.js icon indicating copy to clipboard operation
gridstack.js copied to clipboard

Can't cancel an external item from being dragged by pressing 'Esc' key

Open adrianbenjuya opened this issue 8 months ago • 2 comments

Subject of the issue

As a user I want to cancel Drag&Drop of a new item from outside the grid by pressing 'Esc' key while the item is being dragged. This works fine for items that are already inside the grid.

Your environment

  • Gridstack demo page
  • Google Chrome

Steps to reproduce

Just drag an external item and press 'Esc' key while dragging

chrome_CTznjhRBKu

Expected behavior

Dragging action should be cancelled, or if not possible at least handle the error.

adrianbenjuya avatar Jun 06 '24 19:06 adrianbenjuya