From 47b922007f44df616afe6fee1119ad1208867cc4 Mon Sep 17 00:00:00 2001 From: GoshaZotov Date: Thu, 19 Feb 2026 00:14:17 +0300 Subject: [PATCH] [se] Fix bug 79328 --- cell/view/WorkbookView.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/cell/view/WorkbookView.js b/cell/view/WorkbookView.js index 8565e463fb..866361f603 100644 --- a/cell/view/WorkbookView.js +++ b/cell/view/WorkbookView.js @@ -1302,8 +1302,11 @@ } AscCommon.applyElementDirection(this.input); } - this.handlers.trigger("asc_onSelectionChanged", this.oSelectionInfo); - this.handlers.trigger("asc_onSelectionEnd"); + //TODO need review -> it may be enough to add a condition to _setEditorFocus + if (!(window["NATIVE_EDITOR_ENJINE"] && this.SearchEngine && this.SearchEngine.changingSelection)) { + this.handlers.trigger("asc_onSelectionChanged", this.oSelectionInfo); + this.handlers.trigger("asc_onSelectionEnd"); + } //если меняется выделенный диапазон this.SearchEngine && this.SearchEngine.ResetCurrent(true);