Skip to content

Build your own AI office with Univer Office SDK. Bring editing, calculation, collaboration, and file processing into your product for people and AI agents. Built on an extensible open-source core.

fix(drawing): fix drawing op send cycle (#5570)

VicKun86d19c5a39ff
diff --git a/packages/sheets-drawing-ui/src/services/canvas-float-dom-manager.service.ts b/packages/sheets-drawing-ui/src/services/canvas-float-dom-manager.service.ts
index f5379c336c..75c91d9fe1 100644
--- a/packages/sheets-drawing-ui/src/services/canvas-float-dom-manager.service.ts
+++ b/packages/sheets-drawing-ui/src/services/canvas-float-dom-manager.service.ts
@@ -631,7 +631,7 @@ export class SheetCanvasFloatDomManagerService extends Disposable {
});
const renderObject = this._getSceneAndTransformerByDrawingSearch(data.unitId);
- if (renderObject) {
+ if (renderObject && sheetDrawing.drawingType !== DrawingTypeEnum.DRAWING_CHART) {
const { scene } = renderObject;
const floatDomInfo = this._domLayerInfoMap.get(data.drawingId);
if (floatDomInfo?.rect) {