Skip to content

Commit

Permalink
chore: adjust comment
Browse files Browse the repository at this point in the history
  • Loading branch information
linxianxi committed Oct 9, 2024
1 parent 5d86c3f commit cd2d125
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Table.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,7 @@ function Table<RecordType extends DefaultRecordType>(
const measureTarget = currentTarget || scrollHeaderRef.current;
if (measureTarget) {
const scrollWidth =
// Same logic as scrollWidth of useColumns
// Should use mergedScrollX in virtual table(useInternalHooks && tailor === true)
useInternalHooks && tailor && typeof mergedScrollX === 'number'
? mergedScrollX
: measureTarget.scrollWidth;
Expand Down

0 comments on commit cd2d125

Please sign in to comment.