Skip to content

Commit 94dd398

Browse files
authored
Merge pull request #2939 from leeagustin/DataTable-whitespace-fix
Fixes bug with whitespace on DataTable when merge_duplicate_header=True
2 parents cac1276 + c0cd75b commit 94dd398

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ This project adheres to [Semantic Versioning](https://semver.org/).
66

77
## Fixed
88

9+
- [#2939](https://github.com/plotly/dash/pull/2939) Fixes bug with whitespace on DataTable when `merge_duplicate_header=True`. Fixes [#2870](https://github.com/plotly/dash/issues/2870)
910
- [#2994](https://github.com/plotly/dash/pull/2994) Keep generated doc-string order for shape or exact props. Fixes [#2990](https://github.com/plotly/dash/issues/2990)
1011
- [#3011](https://github.com/plotly/dash/pull/3011) Fixed an exception error caused by assigning `None` to array properties with `exact` or `shape` element types. Fixes [#3010](https://github.com/plotly/dash/issues/3010)
1112
- [#2991](https://github.com/plotly/dash/pull/2991) Add support for URL decoding of the search parameter for pages.

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

+1-1
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)