From bab36c9d199e2968dbefeee07c19e5824ecafe98 Mon Sep 17 00:00:00 2001 From: leeagustin Date: Thu, 4 Jul 2024 19:11:40 -0700 Subject: [PATCH 1/2] Fixes bug with whitespace on DataTable when merge_duplicate_header=True --- .../src/dash-table/components/ControlledTable/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/dash-table/src/dash-table/components/ControlledTable/index.tsx b/components/dash-table/src/dash-table/components/ControlledTable/index.tsx index 98e888c4db..4997ab1731 100644 --- a/components/dash-table/src/dash-table/components/ControlledTable/index.tsx +++ b/components/dash-table/src/dash-table/components/ControlledTable/index.tsx @@ -402,7 +402,7 @@ export default class ControlledTable extends PureComponent if (fixed_columns || fixed_rows) { const widths = Array.from( r1c1.querySelectorAll( - 'table.cell-table > tbody > tr:first-of-type > *' + 'table.cell-table > tbody > tr:last-of-type > *' ) ).map(c => c.getBoundingClientRect().width); From c0cd75b325e6a0c079e8843ef10fcad77420c8a9 Mon Sep 17 00:00:00 2001 From: philippe Date: Thu, 17 Oct 2024 13:32:00 -0400 Subject: [PATCH 2/2] Update changelog --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index cf2acf11d1..a8b860dc41 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,7 @@ This project adheres to [Semantic Versioning](https://semver.org/). ## Fixed +- [#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) - [#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) - [#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) - [#2991](https://github.com/plotly/dash/pull/2991) Add support for URL decoding of the search parameter for pages.