Skip to content

load() allows overlapping widgets #2492

Closed
@cca-developer

Description

@cca-developer

Widgets should not be allowed to overlap

When calling load after items have been put in place, it will allow widgets to overlap each other.

Your environment

  • gridstack 9.2.1
  • Chrome/Windows

Steps to reproduce

https://jsfiddle.net/xc7540dt/2/
This differs from the baseline fiddle only in that it calls grid.load(items) at the end. But if you drag the widgets labeled 0 or 1, you can see that there is a duplicate behind them.

Expected behavior

The expectation is that widgets should never overlap each other.

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