Skip to content

Commit

Permalink
Disable DataGrid virtualization to prevent visual bug of not showing …
Browse files Browse the repository at this point in the history
…more than 10 rows
  • Loading branch information
AleksTeresh committed Dec 11, 2024
1 parent dcd07d9 commit 3f5383b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/client/components/ThesisPage/ThesesPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,10 @@ const ThesesPage = ({ filteringProgramId }: Props) => {
<Stack spacing={3} sx={{ p: '1rem', width: '100%', maxWidth: '1920px' }}>
<Box>
<DataGrid
// We want to disable virtualization to prevent a bug
// that sometimes causes the grid to not render
// more than 10 rows after switching the page
disableVirtualization
apiRef={apiRef}
loading={isLoading}
rows={isLoading ? skeletonRows : theses}
Expand Down

0 comments on commit 3f5383b

Please sign in to comment.