Skip to content

[Bug] After load(), in some cases the Y position is determined incorrectly & sizes are not restored. #2669

Closed
@IgorA100

Description

@IgorA100

Subject of the issue

I save current layout and then load it. In some cases, elements are assigned the value gs-y="0" instead of the stored gs-y="3"
This is also confirmed at https://gridstackjs.com/demo/serialization.html

Your environment

  • version of gridstack.js - 10.1.2
  • which browser/OS - Windows 8.1. Chrome 109.0.5414.168

Steps to reproduce

bandicam.2024-04-24.15-31-43-405.mp4

Expected behavior

After load() element's Y position should always match the stored gs-y="3", not gs-y="0"

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