diff --git a/common/changes/@visactor/vtable/427-bug-row-height-changed_2023-10-19-09-34.json b/common/changes/@visactor/vtable/427-bug-row-height-changed_2023-10-19-09-34.json new file mode 100644 index 000000000..b9466e316 --- /dev/null +++ b/common/changes/@visactor/vtable/427-bug-row-height-changed_2023-10-19-09-34.json @@ -0,0 +1,11 @@ +{ + "changes": [ + { + "comment": "fix: when use customlayout function, after resize col width the row height changed #427\n\n", + "type": "patch", + "packageName": "@visactor/vtable" + } + ], + "packageName": "@visactor/vtable", + "email": "892739385@qq.com" +} \ No newline at end of file diff --git a/packages/vtable/src/scenegraph/layout/update-width.ts b/packages/vtable/src/scenegraph/layout/update-width.ts index 525fe93c2..1e4c3fa3f 100644 --- a/packages/vtable/src/scenegraph/layout/update-width.ts +++ b/packages/vtable/src/scenegraph/layout/update-width.ts @@ -363,7 +363,7 @@ function updateCellWidth( } } - return isHeightChange; + return autoRowHeight ? isHeightChange : false; } /**