Closed moklick closed 4 weeks ago
Thanks for the report. Yes, we would want to implement this — contributions are welcome.
Thanks for the fast reply! I'm not sure if I can help here but I'll look into it.
Looks like https://github.com/antimatter15/d3-pinch-zoom was an attempt at this.
This seems to be fixed. The example above is now working in Safari.
Hey!
I can not use pinch zoom on a macbook trackpad on Safari. The issue is reproducible with this example: https://observablehq.com/@d3/delaunay-find-zoom?collection=@d3/d3-zoom
It seems that Safari is not using
event.ctrlKey + event.type === 'wheel'
for identifying a pinch zoom but usesgesturestart
,gesturechange
andgestureend
. Are you planing to implement listeners for these events or should we implement them on our own?