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.
TypeScript boardcollaborationdocdocxexceloffce365officepdfpptpptxpresentationsdksheetslidesspreadsheetuniverwordwordprocessorworkspacexlsx
fix(sheet): input (#855)
Univerde99f6786855
diff --git a/packages/sheets-ui/src/controllers/editor-bridge.controller.ts b/packages/sheets-ui/src/controllers/editor-bridge.controller.tsindex b9c8cc5c2e..41edccd8c4 100644--- a/packages/sheets-ui/src/controllers/editor-bridge.controller.ts+++ b/packages/sheets-ui/src/controllers/editor-bridge.controller.ts@@ -25,7 +25,12 @@ import {RxDisposable,ThemeService,} from '@univerjs/core';-import { DeviceInputEventType, getCanvasOffsetByEngine, IRenderManagerService } from '@univerjs/engine-render';+import {+ DeviceInputEventType,+ getCanvasOffsetByEngine,+ IRenderManagerService,+ ITextSelectionRenderManager,+} from '@univerjs/engine-render';import type { ISelectionWithStyle } from '@univerjs/sheets';import {COMMAND_LISTENER_SKELETON_CHANGE,@@ -75,7 +80,8 @@ export class EditorBridgeController extends RxDisposable {@IEditorBridgeService private readonly _editorBridgeService: IEditorBridgeService,@Inject(SelectionManagerService) private readonly _selectionManagerService: SelectionManagerService,@ISelectionRenderService private readonly _selectionRenderService: ISelectionRenderService,- @Inject(ThemeService) private readonly _themeService: ThemeService+ @Inject(ThemeService) private readonly _themeService: ThemeService,+ @ITextSelectionRenderManager private readonly _textSelectionRenderManager: ITextSelectionRenderManager) {super();@@ -163,6 +169,7 @@ export class EditorBridgeController extends RxDisposable {};if (isSameEditorLocation(this._lastEditorLocation, location)) {+ this._textSelectionRenderManager.focus();return;}