Skip to content

Commit

Permalink
[DataGrid] Fix focus when blur event rerender the grid (#3718)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexfauquette committed Feb 4, 2022
1 parent cde5358 commit 1218fb4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/grid/_modules_/grid/components/cell/GridCell.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ function GridCell(props: GridCellProps) {
apiRef.current.scroll(scrollPosition);
}
}
});
}, [hasFocus, cellMode, apiRef]);

let handleFocus: any = other.onFocus;

Expand Down

0 comments on commit 1218fb4

Please sign in to comment.