Skip to content

can't drag between 2 grids with max row set #1687

@Justin99b

Description

@Justin99b

Subject of the issue

Widgets collide and bug over each other when hovering over another grid

Your environment

Gridstack (the verison used on the official site) sorry dont know that one) (V4 if im not mistaken) <- 4.0.1
Chrome Version 89.0.4389.90 (64-Bit)

Steps to reproduce

https://gridstackjs.com/#demo
when moving the item from top to bottom (i hope thats eough to reproduce)

Expected behavior

Widget does not collide with others and just can correctly place back like in the previous v3 versions

Actual behavior

When dragging one widget to another grid and then back (without releasing it) the widget will come nearly impossible to place back in the old grid and even collid or stack on to another object.
Its also happening when just dragging it into another grid.
You can also see the collision happening here https://gridstackjs.com/demo/advance.html
p.s im sorry if im not giving enough information.
if you need anything more please 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