From a91f56adde057debe1cbb074197c68a8a3f79456 Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Fri, 22 May 2020 19:38:23 +0300 Subject: [PATCH] [SSE] Formula wizard: fix focus after selecting data --- apps/spreadsheeteditor/main/app/view/FormulaWizard.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/apps/spreadsheeteditor/main/app/view/FormulaWizard.js b/apps/spreadsheeteditor/main/app/view/FormulaWizard.js index 068b8ef96..33a5e0a69 100644 --- a/apps/spreadsheeteditor/main/app/view/FormulaWizard.js +++ b/apps/spreadsheeteditor/main/app/view/FormulaWizard.js @@ -362,6 +362,11 @@ define([ input.setValue(changedValue); me.onInputChanging(input); me.show(); + _.delay(function(){ + me._noApply = true; + input.cmpEl.find('input').focus(); + me._noApply = false; + },1); }); var xy = me.$window.offset();