What is the current behavior?
-
When you navigate to the element with keyboard (tab), the tooltip appears 👍
-
Arrows move the tooltip between data points 👍
-
When the focus leaves the element with another tab, the tooltip stays visible. 👎
What is the expected behavior?
When focus is navigated away from the chart, the tooltip should disappear.
Please provide a demo of the problem in a sandbox
https://stackblitz.com/edit/vitejs-vite-hgtprkcw?file=src%2FApp.tsx
There are three charts on the page, try to focus the charts with the tab key one after the other. When you navigate through all of them, you'll have three tooltips open in each one. Now press escape. All three tooltips disappear.
Which versions of Recharts, and which browser / OS are affected by this issue? Did this work in previous versions of Recharts?
3.7.0
What is the current behavior?
When you navigate to the element with keyboard (
tab), the tooltip appears 👍Arrows move the tooltip between data points 👍
When the focus leaves the element with another
tab, the tooltip stays visible. 👎What is the expected behavior?
When focus is navigated away from the chart, the tooltip should disappear.
Please provide a demo of the problem in a sandbox
https://stackblitz.com/edit/vitejs-vite-hgtprkcw?file=src%2FApp.tsx
There are three charts on the page, try to focus the charts with the tab key one after the other. When you navigate through all of them, you'll have three tooltips open in each one. Now press escape. All three tooltips disappear.
Which versions of Recharts, and which browser / OS are affected by this issue? Did this work in previous versions of Recharts?
3.7.0