Skip to content

Commit 59136f7

Browse files
authored
Fix TableView resize nubbin (#6559)
1 parent 278e516 commit 59136f7

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

packages/@react-spectrum/table/src/TableViewBase.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ function TableViewBase<T extends object>(props: TableBaseProps<T>, ref: DOMRef<H
288288
let renderWrapper = useCallback((parent: View, reusableView: View, children: View[], renderChildren: (views: View[]) => ReactElement[]) => {
289289
if (reusableView.viewType === 'rowgroup') {
290290
return (
291-
<TableRowGroup
291+
<TableRowGroup
292292
key={reusableView.key}
293293
layoutInfo={reusableView.layoutInfo}
294294
parent={parent?.layoutInfo}

packages/@react-stately/layout/src/TableLayout.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -262,6 +262,7 @@ export class TableLayout<T> extends ListLayout<T> {
262262
layoutInfo.isSticky = !this.disableSticky && (node.props?.isDragButtonCell || node.props?.isSelectionCell);
263263
layoutInfo.zIndex = layoutInfo.isSticky ? 2 : 1;
264264
layoutInfo.estimatedSize = isEstimated;
265+
layoutInfo.allowOverflow = true;
265266

266267
return {
267268
layoutInfo,

0 commit comments

Comments
 (0)