diff --git a/packages/core/src/components/Table/TableHeaderCell/TableHeaderCell.module.scss b/packages/core/src/components/Table/TableHeaderCell/TableHeaderCell.module.scss index 27fb74bb91..96c2cb7ec5 100644 --- a/packages/core/src/components/Table/TableHeaderCell/TableHeaderCell.module.scss +++ b/packages/core/src/components/Table/TableHeaderCell/TableHeaderCell.module.scss @@ -42,7 +42,7 @@ color: var(--primary-text-color); } - &:not(.show):not(:focus):not(:focus-visible) { + &:not(.show) { opacity: 0; pointer-events: none; } diff --git a/packages/core/src/components/Table/TableHeaderCell/TableHeaderCell.tsx b/packages/core/src/components/Table/TableHeaderCell/TableHeaderCell.tsx index 278af261e1..1a5030f218 100644 --- a/packages/core/src/components/Table/TableHeaderCell/TableHeaderCell.tsx +++ b/packages/core/src/components/Table/TableHeaderCell/TableHeaderCell.tsx @@ -50,7 +50,7 @@ const TableHeaderCell: VibeComponent = fo className={cx(styles.tableHeaderCell, { [styles.sortActive]: isSortActive }, className)} data-testid={dataTestId || getTestId(ComponentDefaultTestId.TABLE_HEADER_CELL, id)} role="columnheader" - onMouseEnter={() => setIsHovered(true)} + onMouseOver={() => setIsHovered(true)} onMouseLeave={() => setIsHovered(false)} onFocus={() => setIsHovered(true)} onBlur={() => setIsHovered(false)}