Skip to content

Commit c7c0d35

Browse files
authored
fix: Clicking on TableView column header menu does not work (#8963)
1 parent b2f3515 commit c7c0d35

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

packages/@react-spectrum/s2/src/TableView.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -458,12 +458,11 @@ const cellFocus = {
458458
outlineOffset: -2,
459459
outlineWidth: 2,
460460
outlineColor: 'focus-ring',
461-
borderRadius: '[6px]',
462-
pointerEvents: 'none'
461+
borderRadius: '[6px]'
463462
} as const;
464463

465464
function CellFocusRing() {
466-
return <div role="presentation" className={style({...cellFocus, position: 'absolute', inset: 0})({isFocusVisible: true})} />;
465+
return <div role="presentation" className={style({...cellFocus, position: 'absolute', inset: 0, pointerEvents: 'none'})({isFocusVisible: true})} />;
467466
}
468467

469468
const columnStyles = style({

0 commit comments

Comments
 (0)