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: fix sheet editor life
Wenzhao Hufc08d5fd6954
diff --git a/packages/sheets-ui/src/controllers/editor/editing.render-controller.ts b/packages/sheets-ui/src/controllers/editor/editing.render-controller.tsindex a4a4f2c6ae..90f1d382cb 100644--- a/packages/sheets-ui/src/controllers/editor/editing.render-controller.ts+++ b/packages/sheets-ui/src/controllers/editor/editing.render-controller.ts@@ -174,7 +174,12 @@ export class EditingRenderController extends Disposable implements IRenderModulethis._initialCursorSync(d);this._listenEditorFocus(d);this._commandExecutedListener(d);- this._cursorStateListener(d);++ // FIXME: this problem is the same with slide. Should be fixed when refactoring editor.+ setTimeout(() => {+ this._cursorStateListener(d);+ }, 1000);+return d;}