bcakmakoglu / vue-flow

A highly customizable Flowchart component for Vue 3. Features seamless zoom & pan 🔎, additional components like a Minimap 🗺 and utilities to interact with state and graph.
https://vueflow.dev/
MIT License
4.11k stars 266 forks source link

🐛 [BUG]: Pinch zooming with trackpads does not work on Windows laptops #1642

Open luckyeiner opened 1 month ago

luckyeiner commented 1 month ago

Is there an existing issue for this?

Current Behavior

Attempting to zoom via panning on trackpads does not work for windows machines. In However, it does work fine with Macbooks

Expected Behavior

It should zoom via panning on Windows laptop trackpads

Steps To Reproduce

  1. Go to the basic example
  2. Set props to
    :zoom-on-scroll="false"
    :pan-on-scroll="true"
    :pan-on-drag="false"
  3. Try to zoom on the example via pinching

Relevant log output

No response

Anything else?

No response

bcakmakoglu commented 1 month ago

Thanks for the report, I’ll see what can be done about this once I’m back from my vacation :)

bcakmakoglu commented 3 weeks ago

Any chance this might be related to this? https://github.com/xyflow/xyflow/issues/4416

luckyeiner commented 2 days ago

Any chance this might be related to this? xyflow/xyflow#4416

I don't think so. It doesn't seem to work at all, not just very slowly.