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

Grid does not properly reset when dragging an item #3000

Open
E4RIJMP opened this issue Mar 18, 2025 · 1 comment
Open

Grid does not properly reset when dragging an item #3000

E4RIJMP opened this issue Mar 18, 2025 · 1 comment

Comments

@E4RIJMP
Copy link

E4RIJMP commented Mar 18, 2025

Subject of the issue

Hello, I've noticed an issue for a while now. Sometimes when draging an item around, other items don't properly reset, after they were pushed out of the way of the dragged item. I was able to reproduce it in one of the examples.

Steps to reproduce

  • Create two items with height 2 in a grid that has float: true
  • Drag one item so the other is pushed three rows down
  • Don't let go of the dragged item
  • Move the dragged item back to its first position
  • The psuhed item will still be three rows down
float.mp4

Expected behavior

The pushed item should reset to its original position (same as if it was pushed only two rows down)

@adumesny
Copy link
Member

honestly float:true isn't something that I use or test very much. I'm pretty sure whne float:true we save the original layout when entering a grid, so moving around and leaving always restore (or used to) the original layout, but looks like dragging within doesn't...

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

No branches or pull requests

2 participants