We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bf6909b commit 68f04daCopy full SHA for 68f04da
src/plot_api/plot_api.js
@@ -3663,6 +3663,12 @@ function makePlotFramework(gd) {
3663
var gd3 = d3.select(gd);
3664
var fullLayout = gd._fullLayout;
3665
3666
+ // Add dummy event handler for 'wheel' event for Safari
3667
+ // to enable mouse wheel zoom
3668
+ // https://github.com/d3/d3/issues/3035
3669
+ // https://github.com/plotly/plotly.js/issues/7452
3670
+ gd3.on('wheel', function() {});
3671
+
3672
fullLayout._calcInverseTransform = calcInverseTransform;
3673
fullLayout._calcInverseTransform(gd);
3674
0 commit comments