@tanstack/table-core 8.11.4 → 8.11.5
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/build/lib/features/ColumnSizing.js +2 -4
- package/build/lib/features/ColumnSizing.js.map +1 -1
- package/build/lib/index.esm.js +2 -4
- package/build/lib/index.esm.js.map +1 -1
- package/build/lib/index.mjs +2 -4
- package/build/lib/index.mjs.map +1 -1
- package/build/umd/index.development.js +2 -4
- package/build/umd/index.development.js.map +1 -1
- package/build/umd/index.production.js +1 -1
- package/build/umd/index.production.js.map +1 -1
- package/package.json +1 -1
- package/src/features/ColumnSizing.ts +2 -1
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tanstack/table-core",
|
|
3
3
|
"author": "Tanner Linsley",
|
|
4
|
-
"version": "8.11.
|
|
4
|
+
"version": "8.11.5",
|
|
5
5
|
"description": "Headless UI for building powerful tables & datagrids for TS/JS.",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"homepage": "https://github.com/tanstack/table#readme",
|
|
@@ -319,7 +319,8 @@ export const ColumnSizing: TableFeature = {
|
|
|
319
319
|
|
|
320
320
|
return 0
|
|
321
321
|
}
|
|
322
|
-
header.getResizeHandler =
|
|
322
|
+
header.getResizeHandler = _contextDocument => {
|
|
323
|
+
const contextDocument = _contextDocument || document
|
|
323
324
|
const column = table.getColumn(header.column.id)
|
|
324
325
|
const canResize = column?.getCanResize()
|
|
325
326
|
|