From fe2c22c762736871149656e2be951b965db0e155 Mon Sep 17 00:00:00 2001 From: Mike Perrotti Date: Tue, 15 Jan 2019 19:04:25 -0500 Subject: [PATCH] fix: dynamic cell widths update with content changes --- packages/table/components/Table.tsx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/packages/table/components/Table.tsx b/packages/table/components/Table.tsx index 2de519fcf..a75d5865e 100644 --- a/packages/table/components/Table.tsx +++ b/packages/table/components/Table.tsx @@ -101,6 +101,11 @@ export class Table extends React.PureComponent { }; } + public componentDidUpdate() { + this.cellMeasureCache.clearAll(); + this.updateGridSize(); + } + public render() { return (