Skip to content

"Float" or "compact" I can't push the blocks to the left side. #3224

@IgorA100

Description

@IgorA100

Subject of the issue

I haven't found a single example where a block can be automatically aligned to the left and top side.
Switching to compact has no effect here. https://gridstackjs.com/demo/column.html
For example, initialization occurs, the blocks are positioned correctly, then the height of one block decreases, creating space on the left where another block can be placed.
I don't see any other option other than destroying the GridStack and reinitializing it.

Your environment

  • version of gridstack.js -12.4.2.
  • which browser/OS - Chromium

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions