-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Keyboard navigation unexpectedly throws user to the other column in stacked column chart when setting some value to null #17733
Comments
This bug is also actual for the more natural case like in this demo: https://www.highcharts.com/demo/bar-stacked,the focus can be thrown unexpectedly to the neighbour column while navigating through the middle column by left/right arrow keys |
Thanks for reporting. This is a fairly general issue that applies to many chart types with the current keyboard navigation model. The logic should be rewritten to better handle cases like this. A suboptimal workaround is to set |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions! |
unstale, issue still present |
We will investigate if we can provide a quick fix for this, or a workaround. The longer term (2024, early 2025) plan involves a rewrite of how Highcharts handles keyboard navigation in general. |
Workaround: https://jsfiddle.net/maritavindedal/nhbfqe9o/ |
Expected behaviour
When I have one of the values for chart set to null, I expect keyboard navigation to work in an expected way:
when press left/right arrow button it should lead focus to the other columns if there are such.
And when I press up/down arrow button it should lead focus to the other bars inside the same column if there are such
Actual behaviour
When I have a value in some column set to null, let's say, between the other not-null values and mean to navigate the column containing the null value by pressing up/down arrows, the focus gets thrown to the other columns, which is unexpected and also makes navigation a bit complicated.
Live demo with steps to reproduce
In this fiddle the first column (Arsenal) has null value.
https://jsfiddle.net/me9xab5r/4/
Product version
10.2.1
Affected browser(s)
probably, all
The text was updated successfully, but these errors were encountered: