diff --git a/src/Body/MeasureRow.tsx b/src/Body/MeasureRow.tsx index b2541dbdb..b2bfc7bc9 100644 --- a/src/Body/MeasureRow.tsx +++ b/src/Body/MeasureRow.tsx @@ -23,7 +23,13 @@ export default function MeasureRow({ const { measureRowRender } = useContext(TableContext, ['measureRowRender']); const measureRow = ( - + { if (isVisible(ref.current)) { diff --git a/tests/__snapshots__/ExpandRow.spec.jsx.snap b/tests/__snapshots__/ExpandRow.spec.jsx.snap index 494f6d92d..504761771 100644 --- a/tests/__snapshots__/ExpandRow.spec.jsx.snap +++ b/tests/__snapshots__/ExpandRow.spec.jsx.snap @@ -189,6 +189,7 @@ LoadedCheerio { aria-hidden="true" class="rc-table-measure-row" style="height: 0px;" + tabindex="-1" > shadow should be shown when there are columns where aria-hidden="true" class="rc-table-measure-row" style="height: 0px;" + tabindex="-1" > shadow should display correctly 1`] = ` aria-hidden="true" class="rc-table-measure-row" style="height: 0px;" + tabindex="-1" > shadow should display correctly 2`] = ` aria-hidden="true" class="rc-table-measure-row" style="height: 0px;" + tabindex="-1" >