Skip to content

Horizontal compaction chases elements down the page #1609

@JamesPattisonRedDeer

Description

@JamesPattisonRedDeer

I have been experiencing a slight issue in our implementation of react-grid-layout.

When you have at least 2 items the width of the screen, and your compaction is set to Horizontal, then dragging the top most item makes the item below it chase down the page.

This can be reproduced on the following page. Make screen as narrow as it will go, change compaction to horizontal, and then drag the top most item down. Everything below it just chases downwards and nothing pops above

https://react-grid-layout.github.io/react-grid-layout/examples/0-showcase.html

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugcoreuse this label for changes in `lib` directoryhelp wantedstaleThe label to apply when a pull request or an issue is stale

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions