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 with scrolling #2053

Closed
7 tasks done
stefnotch opened this issue Aug 7, 2022 · 2 comments · Fixed by #2054
Closed
7 tasks done

useDraggable with scrolling #2053

stefnotch opened this issue Aug 7, 2022 · 2 comments · Fixed by #2054

Comments

@stefnotch
Copy link
Contributor

Describe the bug

When dragging an element on the https://vueuse.org/core/usedraggable page, then scrolling and moving the mouse a bit, the element will jump a fair bit.

Steps to reproduce

  1. go to https://vueuse.org/core/usedraggable
  2. start dragging the element that says "drag me!"
  3. scroll down with the mouse wheel
  4. move the mouse a bit
  5. stop dragging the element

Reproduction

https://vueuse.org/core/usedraggable

System Info

System:
    OS: Windows 10 10.0.19044
    CPU: (8) x64 Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz    
    Memory: 19.06 GB / 31.86 GB
  Binaries:
    Node: 16.14.0 - C:\Program Files\nodejs\node.EXE
    npm: 8.16.0 - C:\Program Files\nodejs\npm.CMD
  Browsers:
    Edge: Spartan (44.19041.1266.0), Chromium (104.0.1293.47) 
    Internet Explorer: 11.0.19041.1566
  npmPackages:
    @vueuse/core: link:packages/core => 9.1.0 
    @vueuse/integrations: link:packages/integrations => 9.1.0 
    @vueuse/math: link:packages/math => 9.1.0 
    @vueuse/shared: link:packages/shared => 9.1.0 
    vue: ^3.2.37 => 3.2.37

Used Package Manager

pnpm

Validations

stefnotch added a commit to stefnotch/vueuse that referenced this issue Aug 7, 2022
@stale
Copy link

stale bot commented Oct 6, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Oct 6, 2022
@stefnotch
Copy link
Contributor Author

Still a bug

sxzz pushed a commit to stefnotch/vueuse that referenced this issue Oct 7, 2022
@stale stale bot closed this as completed Oct 14, 2022
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