✊🏿 Black Lives Matter. Please consider donating to Black Girls Code today.
⚡️ Concerned about the grid? Kyle Baranko teaches how to predicting peak loads using XGBoost. Register for the August webinar!

Scatter: scroll wheel zoom propagated to scrollbar

Hi,
When a scatter2d chart is inside a scrollpane, and there is a mouse scroll event inside the chart, the event is propagated to the parent. This does not seem right, the scroll event should not be propagated to the parent.

I have tested the same situation with a scatter3d and it seems work correctly.

You can see here an example:

Thanks for bringing this inconsistency to us.

Can I ask why?

I think that when I scroll:

  • on the chart zoom action should be performed
  • outside move the vertical scrollbar (if it is available)