I am using Plotly.js to display a 3D surface chart.
The mouse wheel scrolling works great, but the issue is the scroll event propagates to the window and scrolls it to.
how do i ensure the window doesn’t scroll. It’s a very bad UX.
Try this codepen on a smaller laptop screen where you can see the scrollbar to the right. you can see it scrolling with the zoom.
Thanks for help.