d3 / d3-zoom

Pan and zoom SVG, HTML or Canvas using mouse or touch input.
https://d3js.org/d3-zoom
ISC License
501 stars 144 forks source link

Zoom "end" is not called when pinch zooming and you start the zoom with the 2nd finger outside the chart #259

Open VaggV opened 1 year ago

VaggV commented 1 year ago

This also happens sometimes when the 2 fingers are inside the container at the start of the zoom (and the 2nd is outside when zooming stops), but it happens consistently if I start zooming with the 2nd finger outside the container.

I was using version 7.3.0 but when I tested with 7.8.0 it had the same behavior.

Edit: This happens on Chrome and Samsung Internet on a tablet (I haven't tried other browsers)

Fil commented 1 year ago

is this a duplicate of #229?

VaggV commented 1 year ago

No, I have tried this on a tablet on Chrome and Samsung Internet (and the behavior is the one I am describing). I will edit my original post