Shared: TableHeader: fixed the calculation of the old width for the dynamic column index
This commit is contained in:
parent
1788aacf93
commit
efbeb95641
@ -404,7 +404,8 @@ class TableHeader extends React.Component<
|
||||
.map((column) => getSubstring(column))
|
||||
.reduce((x, y) => x + y);
|
||||
|
||||
const oldWidth = defaultWidth - defaultSize - settingsSize;
|
||||
const oldWidth =
|
||||
defaultWidth - defaultSize - settingsSize - indexColumnDifference;
|
||||
|
||||
if (Math.round(defaultWidth) !== Math.round(containerWidth) && !isResized) {
|
||||
if (infoPanelVisible) localStorage.removeItem(columnInfoPanelStorageName);
|
||||
|
Loading…
Reference in New Issue
Block a user