Skip to content

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

Closed

Description

@artemas

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

Activity

  1. adumesny commented on Jul 19, 2024

    @adumesny
    Member

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

  2. added a commit that references this issue on Jul 21, 2024
    48a5474
  3. adumesny commented on Jul 21, 2024

    @adumesny
    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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions