Skip to content

full grid crashes on drop of new item #2633

Closed

Description

@piotretm

Subject of the issue

If the grid is full and I try to drop an item from outside there is an unhandled error, which crashes the grid.

image
image

Your environment

  • version of gridstack.js - GridStack 10.1.1
  • Chrome Version 122.0.6261.112 (Official Build) (64-bit)
  • Windows 10 Enterprise

Steps to reproduce

  1. Drag and drop the item from outside the grid - it works.
  2. Try to do the same second time - it crashes.

Link with demo

Expected behavior

The grid should not crash.

Activity

  1. adumesny commented on Mar 30, 2024

    @adumesny
    Member

    fixed in teh 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

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions