Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I am getting above error when I drag inside the chart.
d3.select("svg") .call( d3.zoom() .scaleExtent([1, 10]) .translateExtent([[0, 0], [400, 215]]) .extent([[0, 0], [400, 215]]) .on("zoom", function (event) { // stuff here })
Relevant Analysis: https://developers.google.com/web/updates/2016/06/passive-event-listeners https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener https://github.com/d3/d3-selection/blob/v2.0.0/README.md#selection_on
From the above analysis, what I observed is we should turn off the passive event listener.
I would like to pass additional options like passive event listener in the d3js event handling.
I am using d3js version 6.3.1
Please help me to resolve this issue.
The text was updated successfully, but these errors were encountered:
duplicate of d3/d3-zoom#231
I am getting above error when I drag inside the chart.
d3.select("svg") .call( d3.zoom() .scaleExtent([1, 10]) .translateExtent([[0, 0], [400, 215]]) .extent([[0, 0], [400, 215]]) .on("zoom", function (event) { // stuff here })
Relevant Analysis:
https://developers.google.com/web/updates/2016/06/passive-event-listeners
https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener
https://github.com/d3/d3-selection/blob/v2.0.0/README.md#selection_on
From the above analysis, what I observed is we should turn off the passive event listener.
I would like to pass additional options like passive event listener in the d3js event handling.
I am using d3js version 6.3.1
Please help me to resolve this issue.
The text was updated successfully, but these errors were encountered: