material-react-table 0.5.0 → 0.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/material-react-table.cjs.development.js +4 -2
- package/dist/material-react-table.cjs.development.js.map +1 -1
- package/dist/material-react-table.cjs.production.min.js +1 -1
- package/dist/material-react-table.cjs.production.min.js.map +1 -1
- package/dist/material-react-table.esm.js +4 -2
- package/dist/material-react-table.esm.js.map +1 -1
- package/package.json +2 -2
- package/src/table/MRT_TableContainer.tsx +3 -2
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "0.5.
|
|
2
|
+
"version": "0.5.1",
|
|
3
3
|
"license": "MIT",
|
|
4
4
|
"name": "material-react-table",
|
|
5
5
|
"description": "A fully featured Material-UI implementation of react-table, inspired by material-table and the mui DataGrid, written from the ground up in TypeScript.",
|
|
@@ -89,7 +89,7 @@
|
|
|
89
89
|
"storybook-dark-mode": "^1.0.9",
|
|
90
90
|
"tsdx": "^0.14.1",
|
|
91
91
|
"tslib": "^2.3.1",
|
|
92
|
-
"typescript": "^4.
|
|
92
|
+
"typescript": "^4.6.2"
|
|
93
93
|
},
|
|
94
94
|
"peerDependencies": {
|
|
95
95
|
"@emotion/react": ">=11",
|
|
@@ -29,8 +29,9 @@ export const MRT_TableContainer: FC<Props> = () => {
|
|
|
29
29
|
if (typeof window !== 'undefined') {
|
|
30
30
|
if (fullScreen) {
|
|
31
31
|
document.body.style.overflow = 'hidden';
|
|
32
|
-
} else
|
|
33
|
-
document.body.style.overflow =
|
|
32
|
+
} else {
|
|
33
|
+
document.body.style.overflow =
|
|
34
|
+
originalBodyOverflowStyle.current ?? 'auto';
|
|
34
35
|
}
|
|
35
36
|
}
|
|
36
37
|
}, [fullScreen]);
|