Closed 03k64 closed 6 years ago
I've been experiencing an issue when trying to use pan or zoom on mobile devices for a D3 tree chart. I'm unsure of the underlying cause, however downgrading from v1.7.0 to v1.6.0 of this module solved the issue.
The only pointer I've seen to the cause of the issue is the message translateExtent is undefined in this function: https://github.com/d3/d3-zoom/blob/master/src/zoom.js#L42
translateExtent is undefined
The issue persists even when I explicitly call the zoom.translateExtent([extent]) function and pass an extent array with relevant data in.
zoom.translateExtent([extent])
This bug was fixed in 1.7.1.
I've been experiencing an issue when trying to use pan or zoom on mobile devices for a D3 tree chart. I'm unsure of the underlying cause, however downgrading from v1.7.0 to v1.6.0 of this module solved the issue.
The only pointer I've seen to the cause of the issue is the message
translateExtent is undefined
in this function: https://github.com/d3/d3-zoom/blob/master/src/zoom.js#L42The issue persists even when I explicitly call the
zoom.translateExtent([extent])
function and pass an extent array with relevant data in.