@react-spectrum/table 3.10.1-nightly.4053 → 3.10.1-nightly.4061
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/import.mjs +0 -2
- package/dist/main.js +0 -2
- package/dist/main.js.map +1 -1
- package/dist/module.js +0 -2
- package/dist/module.js.map +1 -1
- package/package.json +32 -32
- package/src/TableViewBase.tsx +0 -2
package/dist/import.mjs
CHANGED
|
@@ -1602,7 +1602,6 @@ function $bd013581c0a4b065$var$TableVirtualizer(props) {
|
|
|
1602
1602
|
domRef
|
|
1603
1603
|
]);
|
|
1604
1604
|
let headerHeight = ((_layout_getLayoutInfo = layout.getLayoutInfo("header")) === null || _layout_getLayoutInfo === void 0 ? void 0 : _layout_getLayoutInfo.rect.height) || 0;
|
|
1605
|
-
let visibleRect = state.virtualizer.visibleRect;
|
|
1606
1605
|
// Sync the scroll position from the table body to the header container.
|
|
1607
1606
|
let onScroll = (0, $gyhAV$useCallback)(()=>{
|
|
1608
1607
|
headerRef.current.scrollLeft = bodyRef.current.scrollLeft;
|
|
@@ -1637,7 +1636,6 @@ function $bd013581c0a4b065$var$TableVirtualizer(props) {
|
|
|
1637
1636
|
role: "presentation",
|
|
1638
1637
|
className: (0, $gyhAV$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($bd5d41f647a296c3$exports))), "spectrum-Table-headWrapper"),
|
|
1639
1638
|
style: {
|
|
1640
|
-
width: visibleRect.width,
|
|
1641
1639
|
height: headerHeight,
|
|
1642
1640
|
overflow: "hidden",
|
|
1643
1641
|
position: "relative",
|
package/dist/main.js
CHANGED
|
@@ -1610,7 +1610,6 @@ function $e39c6de4eb69450d$var$TableVirtualizer(props) {
|
|
|
1610
1610
|
domRef
|
|
1611
1611
|
]);
|
|
1612
1612
|
let headerHeight = ((_layout_getLayoutInfo = layout.getLayoutInfo("header")) === null || _layout_getLayoutInfo === void 0 ? void 0 : _layout_getLayoutInfo.rect.height) || 0;
|
|
1613
|
-
let visibleRect = state.virtualizer.visibleRect;
|
|
1614
1613
|
// Sync the scroll position from the table body to the header container.
|
|
1615
1614
|
let onScroll = (0, $3fpzo$react.useCallback)(()=>{
|
|
1616
1615
|
headerRef.current.scrollLeft = bodyRef.current.scrollLeft;
|
|
@@ -1645,7 +1644,6 @@ function $e39c6de4eb69450d$var$TableVirtualizer(props) {
|
|
|
1645
1644
|
role: "presentation",
|
|
1646
1645
|
className: (0, $3fpzo$reactspectrumutils.classNames)((0, (/*@__PURE__*/$parcel$interopDefault($982885d0a34882ea$exports))), "spectrum-Table-headWrapper"),
|
|
1647
1646
|
style: {
|
|
1648
|
-
width: visibleRect.width,
|
|
1649
1647
|
height: headerHeight,
|
|
1650
1648
|
overflow: "hidden",
|
|
1651
1649
|
position: "relative",
|