Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Multiple Grids Problem on moving items #1043

Closed
@nikoskarakostas

Description

@nikoskarakostas

Subject of the issue

Lets say we have two grids: grid A and grid B.
Each grid has some items. Lets say grid A contains item1 and grid B contains item2.
Whenever I move an item on the first one it moves as it is supposed to.

We assume the following sequence of events:
event 1: I move item 1
event 2: I move item 2
event 3: I move item 1
event 4: I move item 2
(Moves take place inside each grid and not drag-drop to one another)

While on event 3 (moving item 1 for second time), placeholder doesn't appear.
Also, on start of event 4 (moving item 2 for second time), item 1 gets disappeared.

This can be checked on Two grids demo

Is this a known issue? May it be fixed?

*When acceptWidgets property is not defined, everything works smoothly.

You have done a great job btw.

Your environment

  • gridstack 0.5.2 (also tested on 0.4 and the same thing happens)
  • Firefox 70.0.1

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