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

horizontalShift sometimes not work well #48

Open
UTing1119 opened this issue Dec 25, 2023 · 1 comment
Open

horizontalShift sometimes not work well #48

UTing1119 opened this issue Dec 25, 2023 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@UTing1119
Copy link
Collaborator

UTing1119 commented Dec 25, 2023

Expected Behavior

replace two item which is not the same size(w/h)
they should change place
edit:
or it should not change place if the big one has no place to move.
the behavior rn is not correct. (because it'll cause other items overflow)

Current Behavior

if drag the small one, the big one will shift vertically.
if drag the big one, it will work well.

new position wrong

Failure Information (for bugs)

setting:

:is-bound="true"
:col-num="6"
:horizontal-shift="true"
:is-draggable="true"
:is-resizable="false"
:margin="[10, 10]"
:max-rows="5"
:prevent-collision="false"
:responsive="false"
:distribute-evenly="true"
:row-height="120"
:use-css-transforms="true"
:use-border-radius="true"
:vertical-compact="true"

Context

Please provide any relevant information about your setup. This is important in case the issue is not reproducible except for under certain conditions.

  • Firmware Version: vue-responsive-grid-layout: 1.2.2
  • Operating System: windows 11
@gwinnem gwinnem modified the milestone: Release 1.2.6 Dec 27, 2023
@gwinnem gwinnem added the enhancement New feature or request label Dec 30, 2023
@gwinnem
Copy link
Owner

gwinnem commented Dec 30, 2023

@UTing1119
The current behavior is correct.
I'll see if I can change this as you stated above.
Maybe it should be possible to enable / disable the new behaviour ?

@gwinnem gwinnem added the question Further information is requested label Dec 31, 2023
@gwinnem gwinnem removed the question Further information is requested label Jan 8, 2024
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