Skip to content

Commit dde452a

Browse files
committed
Update index.ts
1 parent 0510e1e commit dde452a

File tree

1 file changed

+1
-1
lines changed
  • packages/main/src/components/AnalyticalTable/util

1 file changed

+1
-1
lines changed

packages/main/src/components/AnalyticalTable/util/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ export const getCombinedElementsHeight = (
191191
}
192192
height += el.offsetHeight;
193193
}
194-
// Math.abs is required, because of layout thrashing (rounding errors)
194+
// Math.abs is required, because of subpixel rounding errors
195195
const updatedHeight = Math.abs(prevHeight - height) > 1 ? height : prevHeight;
196196
prevHeightRef.current = updatedHeight;
197197

0 commit comments

Comments
 (0)