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
|
@@ -2357,8 +2357,10 @@ var MRT_TableContainer = function MRT_TableContainer() {
|
|
|
2357
2357
|
if (typeof window !== 'undefined') {
|
|
2358
2358
|
if (fullScreen) {
|
|
2359
2359
|
document.body.style.overflow = 'hidden';
|
|
2360
|
-
} else
|
|
2361
|
-
|
|
2360
|
+
} else {
|
|
2361
|
+
var _originalBodyOverflow;
|
|
2362
|
+
|
|
2363
|
+
document.body.style.overflow = (_originalBodyOverflow = originalBodyOverflowStyle.current) != null ? _originalBodyOverflow : 'auto';
|
|
2362
2364
|
}
|
|
2363
2365
|
}
|
|
2364
2366
|
}, [fullScreen]);
|