Skip to content

API calls overlapping items due to maxRow #2953

Open
@E4RIJMP

Description

@E4RIJMP

Hello,
assuming there is maxRow limit and the grid is stacked with items. The user can still resize one of these items so that other items automatically reposition themselves and move past the row limit to a lower row. But if the same thing is accomplished by using update from the GridStack class, the items will not move to a lower row but overlap each other.

I created a minimal example for this and another issue I encountered (for which I created a separate issue). In that example, clicking the "add items" button will create some items. And clicking "resize item" will make one of these items overlap another one. If this resizing is performed manually (via mouse) everything works as expected and the items will not overlap.

gridstack-angular-example.zip

Regards

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