fix: First item hovered on stacked bar (#30628)

This commit is contained in:
Michael S. Molina
2024-10-16 13:07:12 -03:00
committed by GitHub
parent 53a121d9e1
commit c8edd1fb25

View File

@@ -590,7 +590,7 @@ export default function transformProps(
});
if (stack) {
rows.reverse();
if (focusedRow) {
if (focusedRow !== undefined) {
focusedRow = rows.length - focusedRow - 1;
}
}