@homebound/beam 2.101.1 → 2.101.2
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.
|
@@ -304,7 +304,9 @@ function renderVirtual(style, id, columns, headerRows, filteredRows, firstRowMes
|
|
|
304
304
|
const { paddingBottom, ...otherRootStyles } = (_a = style.rootCss) !== null && _a !== void 0 ? _a : {};
|
|
305
305
|
return { footerStyle: { paddingBottom }, listStyle: { ...style, rootCss: otherRootStyles } };
|
|
306
306
|
}, [style]);
|
|
307
|
-
return ((0, jsx_runtime_1.jsx)(react_virtuoso_1.Virtuoso, { overscan: 5, ref: virtuosoRef,
|
|
307
|
+
return ((0, jsx_runtime_1.jsx)(react_virtuoso_1.Virtuoso, { overscan: 5, ref: virtuosoRef,
|
|
308
|
+
// Add `minWidth: fit-content` to ensure a sticky header and the virtualized table body maintain same width
|
|
309
|
+
style: { minWidth: "fit-content" }, components: {
|
|
308
310
|
List: VirtualRoot(listStyle, columns, id, firstLastColumnWidth, xss),
|
|
309
311
|
Footer: () => (0, jsx_runtime_1.jsx)("div", { css: footerStyle }, void 0),
|
|
310
312
|
},
|