Skip to content

Commit

Permalink
release v2.9.2
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinVandy committed Jan 26, 2024
1 parent f522f60 commit fdc1b7b
Show file tree
Hide file tree
Showing 6 changed files with 89 additions and 143 deletions.
2 changes: 1 addition & 1 deletion apps/material-react-table-docs/package.json
Expand Up @@ -44,7 +44,7 @@
},
"devDependencies": {
"@tanstack/eslint-plugin-query": "^5.17.20",
"@types/node": "^20.11.6",
"@types/node": "^20.11.7",
"@types/react": "^18.2.48",
"@types/react-dom": "^18.2.18",
"@typescript-eslint/eslint-plugin": "^6.19.1",
Expand Down
11 changes: 11 additions & 0 deletions apps/material-react-table-docs/pages/changelog.mdx
Expand Up @@ -12,6 +12,17 @@ import Head from 'next/head';

### Version 2

#### Version 2.9.2 - 2024-01-25

- Added `disableScrollLock: true` to all MUI Menus and Select Menus to keep menus with their anchor origin while scrolling by default
- Switched pagination rows per page select to use native select by default in mobile viewports
- Fixed pagination rows per page input label for accessibility attribute
- Removed unnecessary `::after` pseudo elements on table cells if they were unused
- Fixed edge cases with footer cell alignment
- Added `position: 'relative'` to table and all rows and cells
- Fixed semantic sticky header regression
- Fixed row order/dragging with column virtualization enabled bug

#### Version 2.9.1 - 2024-01-25

- Fixed row selection highlighting logic on grouped/aggregated rows
Expand Down
2 changes: 1 addition & 1 deletion packages/material-react-table/package.json
Expand Up @@ -80,7 +80,7 @@
"@storybook/react": "^7.6.10",
"@storybook/react-vite": "^7.6.10",
"@storybook/testing-library": "^0.2.2",
"@types/node": "^20.11.6",
"@types/node": "^20.11.7",
"@types/react": "^18.2.48",
"@types/react-dom": "^18.2.18",
"@typescript-eslint/eslint-plugin": "^6.19.1",
Expand Down
Expand Up @@ -54,7 +54,7 @@ export const MRT_TableFooter = <TData extends MRT_RowData>({
? `1px solid ${theme.palette.grey[300]}`
: `1px solid ${theme.palette.grey[700]}`
: undefined,
position: stickFooter ? 'sticky' : undefined,
position: stickFooter ? 'sticky' : 'relative',
zIndex: stickFooter ? 1 : undefined,
...(parseFromValuesOrFunc(tableFooterProps?.sx, theme) as any),
})}
Expand Down
Expand Up @@ -55,6 +55,7 @@ export const MRT_TableFooterRow = <TData extends MRT_RowData>({
sx={(theme) => ({
backgroundColor: getMRTTheme(table, theme).baseBackgroundColor,
display: layoutMode?.startsWith('grid') ? 'flex' : undefined,
position: 'relative',
width: '100%',
...(parseFromValuesOrFunc(tableRowProps?.sx, theme) as any),
})}
Expand Down

1 comment on commit fdc1b7b

@vercel
Copy link

@vercel vercel bot commented on fdc1b7b Jan 26, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.