Skip to content

Commit 2c20ecc

Browse files
committed
fix: improve measurerow ally expirerence
1 parent 8c37e7f commit 2c20ecc

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

src/Body/MeasureRow.tsx

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,13 @@ export default function MeasureRow({
2020
const ref = React.useRef<HTMLTableRowElement>(null);
2121

2222
return (
23-
<tr aria-hidden="true" className={`${prefixCls}-measure-row`} style={{ height: 0 }} ref={ref}>
23+
<tr
24+
aria-hidden="true"
25+
tabIndex={-1}
26+
className={`${prefixCls}-measure-row`}
27+
style={{ height: 0 }}
28+
ref={ref}
29+
>
2430
<ResizeObserver.Collection
2531
onBatchResize={infoList => {
2632
if (isVisible(ref.current)) {

0 commit comments

Comments
 (0)