Skip to content

Item stuck after dragging over nested grid #2236

Description

@csokiskeksz

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"

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions