8000 Vertical Compact Issue · Issue #2145 · react-grid-layout/react-grid-layout · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Vertical Compact Issue #2145

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
Mina-Massoud opened this issue May 1, 2025 · 0 comments
Open

Vertical Compact Issue #2145

Mina-Massoud opened this issue May 1, 2025 · 0 comments

Comments

@Mina-Massoud
Copy link
Mina-Massoud commented May 1, 2025

Describe the bug

When I set verticalCompact={false}, I can't swap between the top and bottom elements because it keeps pushing them down. I explored an older demo that was available here: https://strml.github.io/react-grid-layout/examples/11-no-vertical-compact.html, and it worked fine.

Screen.Recording.2025-05-01.at.2.51.44.AM.mov

Your Example Website or App

https://react-grid-layout.github.io/react-grid-layout/examples/11-no-vertical-compact.html

Steps to Reproduce the Bug or Issue

1- Drag top box
2- Try swap it with box at lower level
3- the lower level box will keep moving down

Expected behavior

I expect to swap places like old version, I will provide video for it

react-grid-layout library version

1.5.1

Operating System Version

macos

Browser

Chrome

Additional context

No response

Screenshots or Videos

The old version works fine :
https://github.com/user-attachments/assets/13551e71-69be-4571-97c1-96e5c5bfe9bd

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0