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

Item stuck after dragging over nested grid

Open csokiskeksz opened this issue 3 years ago • 1 comments

Subject of the issue

Grid item gets "stuck" when dragging over nested grid and then back. After being stuck, the item can not be dragged anywhere inside the container. This state can be reset by moving the item outside of the container (into parent or nested grid) then back again. See attached video.

(Happens when dragging normal grid items and nested grids as well.)

Your environment

  • version of gridstack.js - 7.2.3
  • which browser/OS - Chrome/Firefox, Windows

Steps to reproduce

The problematic part starts at 0:07, the grid item gets "reset" at 0:14

https://user-images.githubusercontent.com/11984549/226856054-6d8685f4-bca0-4ce3-ba52-aabbe4597d49.mp4

You can try it in this fiddle: https://jsfiddle.net/csokisskeksz/9tevdoch/138/

Expected behavior

The item should not get "stuck"

csokiskeksz avatar Mar 22 '23 09:03 csokiskeksz

thank you for bug report.

adumesny avatar Apr 15 '23 14:04 adumesny