@tanstack/react-table 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.
|
@@ -635,10 +635,8 @@
|
|
|
635
635
|
}
|
|
636
636
|
return 0;
|
|
637
637
|
};
|
|
638
|
-
header.getResizeHandler =
|
|
639
|
-
|
|
640
|
-
contextDocument = document;
|
|
641
|
-
}
|
|
638
|
+
header.getResizeHandler = _contextDocument => {
|
|
639
|
+
const contextDocument = _contextDocument || document;
|
|
642
640
|
const column = table.getColumn(header.column.id);
|
|
643
641
|
const canResize = column == null ? void 0 : column.getCanResize();
|
|
644
642
|
return e => {
|