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(sheets-ui): formula across subsheet (#3583)

zhangw69d513eb3849
diff --git a/packages/sheets-ui/src/controllers/render-controllers/editor-bridge.render-controller.ts b/packages/sheets-ui/src/controllers/render-controllers/editor-bridge.render-controller.ts
index 1508acd8c6..f45be73007 100644
--- a/packages/sheets-ui/src/controllers/render-controllers/editor-bridge.render-controller.ts
+++ b/packages/sheets-ui/src/controllers/render-controllers/editor-bridge.render-controller.ts
@@ -208,13 +208,13 @@ export class EditorBridgeRenderController extends RxDisposable implements IRende
}
if (options?.fromCollab) return;
-
- if (COMMAND_LISTENER_SKELETON_CHANGE.includes(command.id)) {
+ if (command.id !== SetWorksheetActiveOperation.id && COMMAND_LISTENER_SKELETON_CHANGE.includes(command.id)) {
this._hideEditor();
}
}));
d.add(this._commandService.beforeCommandExecuted((command: ICommandInfo, options?: IExecutionOptions) => {
+ if (options?.fromCollab) return;
if (command.id === SetWorksheetActiveOperation.id) {
this._tryHideEditor();
}