Skip to content

Commit

Permalink
fix: autosize
Browse files Browse the repository at this point in the history
  • Loading branch information
romgrk committed Feb 28, 2024
1 parent 23a59f1 commit 5ed191a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/x-data-grid-pro/src/utils/domUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,8 @@ export function findGridCells(api: GridPrivateApiPro, field: string) {
const container = api.virtualScrollerRef!.current!;
return Array.from(
container.querySelectorAll(
`:scope > div > div > div > [data-field="${field}"][role="gridcell"]`,
`:scope > div > div > [data-field="${field}"][role="gridcell"],
:scope > div > div > div > [data-field="${field}"][role="gridcell"]`,
),
);
}
Expand Down

0 comments on commit 5ed191a

Please sign in to comment.