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.05k stars 261 forks source link

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

Open luckyeiner opened 4 weeks ago

luckyeiner commented 4 weeks 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 3 weeks ago

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

bcakmakoglu commented 1 week ago

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