huntabyte / vaul-svelte

An unstyled drawer component for Svelte.
https://vaul-svelte.com
MIT License
467 stars 19 forks source link

Drawer handle drags the whole window down when using Arc Browser #69

Open maximgx opened 8 months ago

maximgx commented 8 months ago

Describe the bug

Only with Arc Browser, on MacOS, when using the mouse to drag the drawer down and close it, the entire browser windows gets pulled down and the drawer half-closes but remains open.

It does happen only when applying sufficient speed, if slowly, it works as expected.

I'm not sure if this is something that has to be fixed in Vaul or Arc.

Screenshot 2024-03-29 at 11 49 33 Screenshot 2024-03-29 at 11 50 19

Reproduction

On Arc Browser

  1. go on https://www.vaul-svelte.com/
  2. open drawer
  3. drag with mouse with sufficient speed (slowly almost always works)

Logs

No response

System Info

System:
    OS: macOS 14.2.1
    CPU: (12) arm64 Apple M2 Max
    Memory: 4.24 GB / 32.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 20.2.0 - ~/.n/bin/node
    Yarn: 1.22.19 - ~/.npm/bin/yarn
    npm: 9.6.6 - ~/.n/bin/npm
    pnpm: 8.15.1 - ~/.npm/bin/pnpm
  Browsers:
    Brave Browser: 123.1.64.109
    Safari: 17.2.1
  npmPackages:
    @sveltejs/kit: ^2.5.4 => 2.5.4
    bits-ui: ^0.21.1 => 0.21.1
    svelte: ^4.2.12 => 4.2.12
    typescript: ^5.4.3 => 5.4.3
    vaul-svelte: ^0.3.0 => 0.3.0

Severity

annoyance

huntabyte commented 8 months ago

I'm also using Arc and unable to reproduce this