diff --git a/packages/g6/src/runtime/canvas.ts b/packages/g6/src/runtime/canvas.ts index e8ebf6ac1a9..0ee4078047f 100644 --- a/packages/g6/src/runtime/canvas.ts +++ b/packages/g6/src/runtime/canvas.ts @@ -360,6 +360,10 @@ function createRenderers(renderer: CanvasConfig['renderer'], layersName: CanvasL layersName.map((layer) => { const instance = renderer?.(layer) || new CanvasRenderer(); + if (instance instanceof CanvasRenderer) { + instance.setConfig({ enableDirtyRectangleRendering: false }); + } + if (layer === 'main') { instance.registerPlugin( new DragNDropPlugin({