You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a scollable bar chart and there are items hiding under the x-axis. When I hover over the x-axis or click on the x-axis, the click should be ignored because the bars in that area are not visible.
Actual behaviour
Clicks trigger selections of rows (not shown in the demo). Hover events still trigger popups in the x-axis (shown in demo). Right-clicking in the spot shows the bar in the SVG as the topmost element.
@karolkolodziej I think it's a bug. It should be trivial (famous last words) to check the click coordinates or the target point for chart.isInsidePlot.
Expected behaviour
I have a scollable bar chart and there are items hiding under the x-axis. When I hover over the x-axis or click on the x-axis, the click should be ignored because the bars in that area are not visible.
Actual behaviour
Clicks trigger selections of rows (not shown in the demo). Hover events still trigger popups in the x-axis (shown in demo). Right-clicking in the spot shows the bar in the SVG as the topmost element.
Live demo with steps to reproduce
https://jsfiddle.net/jo3vm6s1/
This does not implement selection of items, but does show how the cursor events are triggering things for bars that are not visible.
Product version
Affected browser(s)
Chrome.
The text was updated successfully, but these errors were encountered: