gridstack.js
gridstack.js copied to clipboard
Can't cancel an external item from being dragged by pressing 'Esc' key
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
Expected behavior
Dragging action should be cancelled, or if not possible at least handle the error.