gridstack / gridstack.js

Build interactive dashboards in minutes.
https://gridstackjs.com
MIT License
6.53k stars 1.27k forks source link

Can not drag an item after moving it out of subgrid #2740

Closed artemas closed 1 month ago

artemas commented 1 month ago

Subject of the issue

The item can not be moved after moving it out of a subgrid.

Your environment

I've got the issue after upgrade from 10.2.0. It is reproducible on demo page

Steps to reproduce

https://gridstackjs.com/demo/nested.html

  1. Click Add Nested Grid
  2. Move just created Nested Grid to another subgrid
  3. Move an item (world in the video below) out of the created Nested Grid
  4. Try to move this item (world)
  5. The created Nested Grid is moving instead the item (world)

Expected behavior

The item should move as usual

gridstack_demo.webm

adumesny commented 1 month ago

Update: this was another 10.2.1 new bug, introduced by #2709

adumesny commented 1 month ago

fixed in next release, don't forget to donate if you find this lib useful!