Skip to content

Resize doesn't work with horizontal: true  #567

Open
@lunule

Description

@lunule

I'm not sure if this is intentional - maybe it's just that I don't fully grasp what this setting means, but I can't imagine a scenario where the container width shouldn't accommodate upon resize; and that's what I see when I set horizontal to true.

I checked the official CodePen horizontal example, and I see the same result, it's not resizable. The grid gets a width value on page load, and this value doesn't get updated when the viewport is resized.

Test case: https://codepen.io/desandro/pen/naPxde

Thanks for taking a look into this.

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