Closed PavelVanecek closed 2 weeks ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 95.52%. Comparing base (
f260ab4
) to head (20145c5
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Description
I missed this piece of logic when moving the activeIndex from props cloning to context. Fixed!
Related Issue
Reported in https://github.com/recharts/recharts/pull/4524#discussion_r1599539504
Motivation and Context
bugfix
How Has This Been Tested?
npm test, storybook
I used this codesandbox to compare with 2.x behaviour: https://codesandbox.io/p/sandbox/jovial-nova-s67t7p?file=%2Fsrc%2FApp.tsx%3A48%2C38
Here is the 2.x code to compare: https://github.com/recharts/recharts/blob/master/src/chart/generateCategoricalChart.tsx#L2002
Screenshots (if appropriate):
Types of changes
Checklist: