Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
artemas opened this issue Jul 19, 2024 · 2 comments · Fixed by #2742
Closed

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

artemas opened this issue Jul 19, 2024 · 2 comments · Fixed by #2742

Comments

@artemas
Copy link

artemas commented Jul 19, 2024

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

  • version of gridstack.js - 10.3.0
  • chrome/linux

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
Copy link
Member

adumesny commented Jul 19, 2024

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

@adumesny
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants