From ed16cd2acd73838ef447f15c4f6b8cd29974dd8e Mon Sep 17 00:00:00 2001 From: Neo Nie Date: Wed, 24 Jun 2020 00:49:07 +0800 Subject: [PATCH] fix: dynamic rowHeight is not updated when resizing column --- CHANGELOG.md | 3 ++- src/BaseTable.js | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d79ec6e1..0cda3892 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,8 @@ ## NEXT VERSION -- fix: rowHeight is not calculated correctly with frozen columns +- fix: dynamic rowHeight is not calculated correctly with frozen columns +- fix: dynamic rowHeight is not updated when resizing column ## v1.10.0 (2020-06-22) diff --git a/src/BaseTable.js b/src/BaseTable.js index 3f531043..07fd3a5d 100644 --- a/src/BaseTable.js +++ b/src/BaseTable.js @@ -939,7 +939,7 @@ class BaseTable extends React.PureComponent { this.setState({ resizingWidth: width }); if (this.props.estimatedRowHeight && this.props.fixed) { - this.resetColumnWidthCache(false); + this.resetColumnWidthCache(); } const column = this.columnManager.getColumn(key);