Skip to content

Items overlapping issue  #150

@bourhaouta

Description

@bourhaouta

I'm trying to remake the https://bento.me grid using your package, so far so good

but I want to use variant buttons to resize instead of the resizer functionality, for example, a button on each item that will change the w: 1, h: 1 to w: 2, h: 2
so what happens is that the size changes but it doesn't adjust, it's like the adjustment happens before the size change because on the second click it pushed to touching blocks around, I tried to use gridHelp.adjust but it ruins the order and placements of all items and it removes the empty space, and normalize doesn't seem to do much, is there a way to trigger the adjust function but without having the order and such to be affected?

First size change click:
image

Second size change:
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions