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

Item stuck after dragging over nested grid #2236

Open
csokiskeksz opened this issue Mar 22, 2023 · 1 comment
Open

Item stuck after dragging over nested grid #2236

csokiskeksz opened this issue Mar 22, 2023 · 1 comment
Labels

Comments

@csokiskeksz
Copy link

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

Grid.Item.Stuck.mp4

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

Expected behavior

The item should not get "stuck"

@adumesny
Copy link
Member

thank you for bug report.

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

No branches or pull requests

2 participants