What is the current behavior?
When combining the TwoLevelPieChart example with the CustomActiveShapePieChart from the documentation, the detection of what pie-slice is hovered seems broken.
What is the expected behavior?
Only the hovered pie-slice's active shape should be rendered.
Please provide a demo of the problem in a sandbox
https://stackblitz.com/edit/react-lnlglkfj-p1air5gc?file=src%2FExample.jsx
Which versions of Recharts, and which browser / OS are affected by this issue? Did this work in previous versions of Recharts?
Recharts: 3.1.2
Chrome: 139.0.7258.155 and Firefox: 142.0.1
Windows 11
I didn't try this in a previous recharts version.
What is the current behavior?
When combining the TwoLevelPieChart example with the CustomActiveShapePieChart from the documentation, the detection of what pie-slice is hovered seems broken.
What is the expected behavior?
Only the hovered pie-slice's active shape should be rendered.
Please provide a demo of the problem in a sandbox
https://stackblitz.com/edit/react-lnlglkfj-p1air5gc?file=src%2FExample.jsx
Which versions of Recharts, and which browser / OS are affected by this issue? Did this work in previous versions of Recharts?
Recharts: 3.1.2
Chrome: 139.0.7258.155 and Firefox: 142.0.1
Windows 11
I didn't try this in a previous recharts version.