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

UseDraggable still have a snap movement when the dragging starts #3402

Closed
7 tasks done
3aluw opened this issue Sep 14, 2023 · 0 comments · Fixed by #3531
Closed
7 tasks done

UseDraggable still have a snap movement when the dragging starts #3402

3aluw opened this issue Sep 14, 2023 · 0 comments · Fixed by #3531

Comments

@3aluw
Copy link

3aluw commented Sep 14, 2023

Describe the bug

Although a recent PR #3335 tackles this issue was accepted . You still experience the sudden movement of the dragged element if the container element is not at top:0 left: 0 of the viewport.
Check this as I created a virtual navbar which can cause a snap movement when the dragging starts.
I wish you take a look at #3219 and #3238

Reproduction

https://stackblitz.com/edit/vitejs-vite-ik4fhx?file=package.json,src%2FApp.vue

System Info

System:
    OS: Linux 5.0 undefined
    CPU: (8) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
    Memory: 0 Bytes / 0 Bytes
    Shell: 1.0 - /bin/jsh
  Binaries:
    Node: 16.20.0 - /usr/local/bin/node
    Yarn: 1.22.19 - /usr/local/bin/yarn
    npm: 9.4.2 - /usr/local/bin/npm
    pnpm: 8.6.10 - /usr/local/bin/pnpm
  npmPackages:
    @vueuse/core: 10.4.1 => 10.4.1 
    vue: ^3.2.25 => 3.2.31

Used Package Manager

npm

Validations

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

Successfully merging a pull request may close this issue.

1 participant