Skip to content

Commit bab36c9

Browse files
committed
Fixes bug with whitespace on DataTable when merge_duplicate_header=True
1 parent 129c942 commit bab36c9

File tree

1 file changed

+1
-1
lines changed
  • components/dash-table/src/dash-table/components/ControlledTable

1 file changed

+1
-1
lines changed

components/dash-table/src/dash-table/components/ControlledTable/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -402,7 +402,7 @@ export default class ControlledTable extends PureComponent<ControlledTableProps>
402402
if (fixed_columns || fixed_rows) {
403403
const widths = Array.from(
404404
r1c1.querySelectorAll(
405-
'table.cell-table > tbody > tr:first-of-type > *'
405+
'table.cell-table > tbody > tr:last-of-type > *'
406406
)
407407
).map(c => c.getBoundingClientRect().width);
408408

0 commit comments

Comments
 (0)