Skip to content

GridStack rearranges items in one-column layout #3170

@Mykhail-Lukashevych

Description

@Mykhail-Lukashevych

Subject of the issue

When the layout switches to a single column, the items are rearranged after a page refresh

Your environment

  • GridStack version: 12.3.3
  • OS: macOS
  • Browsers: Safari, Chrome

Steps to reproduce

  1. Open the page: https://codepen.io/MLukashevich/full/ByjZmLE
  2. Gradually shrink the browser window until the items are arranged in a single-column layout.
    Note: Initially, the items appear in the correct vertical order: 1 → 2 → 3
  3. Refresh the browser page.
    Observe that the items are now rearranged in the order: 2 → 3 → 1

Expected behavior

The item order should remain consistent (1 → 2 → 3) after the browser page is reloaded, even in a single-column layout

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