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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

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