vue-responsive-grid-layout
vue-responsive-grid-layout copied to clipboard
Unexpected Behavior with Horizontal Shift
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.
@TonyYanOnFire Can you please apply a codesandbox so i can test this.
Rgds
Geirr