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

Unexpected Behavior with Horizontal Shift #32

Open
TonyYanOnFire opened this issue Oct 30, 2023 · 1 comment
Open

Unexpected Behavior with Horizontal Shift #32

TonyYanOnFire opened this issue Oct 30, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@TonyYanOnFire
Copy link

Hey Geirr,

I've created a layout to evaluate the horizontal shift feature in vue-ts-responsive-grid-layout. My expectation was straightforward: when I move item5 all the way to the left, it should first swap places with item4 and then with item3, ultimately resulting in an order of item5-item3-item4 from left to right. However, what I observed was that when item5 and item4 collided, item4 got pushed down to next row and didn't revert back to its original position. This behavior seems a bit off to me.

On the other hand, when I tested by dragging item1 and item9 to the far left, everything worked as anticipated.

@gwinnem gwinnem added the enhancement New feature or request label Nov 6, 2023
@gwinnem
Copy link
Owner

gwinnem commented Feb 6, 2024

@TonyYanOnFire
Can you please apply a codesandbox so i can test this.

Rgds

Geirr

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

No branches or pull requests

2 participants