Skip to content
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

UI Shaking When Dragging Grid with Larger or Equal Height into Another Grid #2407

Open
rolandsoh96 opened this issue Aug 11, 2023 · 1 comment
Labels

Comments

@rolandsoh96
Copy link

rolandsoh96 commented Aug 11, 2023

Description:
I am encountering a UI issue with Gridstack when dragging a grid into another grid. If the height of the dragged grid is greater than or equal to the height of the dropped grid, the UI begins to shake uncontrollably when the dragged grid is close to the dropped grid.

Steps to Reproduce:

  1. Create two grids, one with a height greater than or equal to the other (e.g., draggedGridHeight >= droppedGridHeight).
  2. Initiate a drag operation on the larger grid.
  3. Drag it close to the smaller grid.
  4. Observe the rapid shaking of the UI.

Expected Behavior:
The grids should align smoothly without any shaking, regardless of their relative heights.

Actual Behavior:
The UI shakes uncontrollably when the dragged grid is close to the dropped grid.

Nested.Grid.Shaking.webm
@adumesny
Copy link
Member

oh that's gonna be fun to debug....

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

No branches or pull requests

2 participants