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 b5deb4d commit 76c855dCopy full SHA for 76c855d
src/lib/events.js
@@ -65,7 +65,9 @@ var Events = {
65
* https://github.com/d3/d3/issues/3035
66
* https://github.com/plotly/plotly.js/issues/7452
67
*/
68
- plotObj?.addEventListener?.("wheel", () => {});
+ if(typeof plotObj.addEventListener === 'function') {
69
+ plotObj.addEventListener("wheel", () => {});
70
+ }
71
72
return plotObj;
73
},
0 commit comments