mbostock/d3 — Issue #587: behavior.zoom: two finger drag started outside should not zoom
Author: stepheneb
Created: 2012-03-07 23:26:49+00:00
State: open

If a two finger drag is started outside of an element to which behavior.zoom is applied no zoom should take effect when entering and passing over the element.

When users scroll up and down in pages I have created using a two finger swipe they have troubles when that swipe traverses an element to which behavior.zoom has been applied -- the scroll action stops and the zoom action starts.

You can see as simple replication of this problem by opening http://bl.ocks.org/1182434 and starting a two-finger swipe outside the plotting area. Extend the scrolling swipe by traversing up or down into the plotting area of the graph. The scrolling will stop and the graph will zoom.