You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
very good! you are using my own test beds to find bugs... I should have caught that one, if only I had unit test for drag&drop.
that will also fix the fact that the item can be sort of resized past it's max (well the drop shadow does, actual D&D still constrained to max=3), which I believe has been around for a while. save() is new in 2.0 making it easier to debug...
Subject of the issue
If I have an item in another grid or an item outside of the grid dragged into a new grid, it's attributes are not preserved.
Your environment
Version of gridstack.js: 2.0.0
Browser: Chrome on Ubuntu (Version 83.0.4103.61 (Official Build) (64-bit))
Steps to reproduce
Expected behaviour
The moved item should have its ID attribute saved in the serialized JSON.
Actual behaviour
The moved item does not have its ID attribute saved in the serialized JSON.
The text was updated successfully, but these errors were encountered: