diff --git a/libs/components/board-shapes/src/editor-util/EditorUtil.tsx b/libs/components/board-shapes/src/editor-util/EditorUtil.tsx index 5d5d15c1a9..237224fe51 100644 --- a/libs/components/board-shapes/src/editor-util/EditorUtil.tsx +++ b/libs/components/board-shapes/src/editor-util/EditorUtil.tsx @@ -102,7 +102,7 @@ export class EditorUtil extends TDShapeUtil { onResize.current = e => { const first = e[0]; const bounds = first.contentRect; - const realHeight = bounds.height / zoomLevel; + const realHeight = bounds.height; if ( bounds.height !== 0 && Math.abs(realHeight - height) > 1