Skip to content

Commit cd2d125

Browse files
committed
chore: adjust comment
1 parent 5d86c3f commit cd2d125

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Table.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -455,7 +455,7 @@ function Table<RecordType extends DefaultRecordType>(
455455
const measureTarget = currentTarget || scrollHeaderRef.current;
456456
if (measureTarget) {
457457
const scrollWidth =
458-
// Same logic as scrollWidth of useColumns
458+
// Should use mergedScrollX in virtual table(useInternalHooks && tailor === true)
459459
useInternalHooks && tailor && typeof mergedScrollX === 'number'
460460
? mergedScrollX
461461
: measureTarget.scrollWidth;

0 commit comments

Comments
 (0)