Merge pull request #1385 from ONLYOFFICE/fix/bug-54327

Fix Bug 54327
This commit is contained in:
Julia Radzhabova 2021-12-06 01:58:10 +03:00 committed by GitHub
commit 7be53fa5bb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -229,8 +229,10 @@ define([
me.onAfterHideMenu(e);
}, 10);
} else if (e.keyCode != Common.UI.Keys.RETURN && e.keyCode != Common.UI.Keys.CTRL && e.keyCode != Common.UI.Keys.SHIFT && e.keyCode != Common.UI.Keys.ALT && e.keyCode != Common.UI.Keys.TAB){
if (!this.isMenuOpen() && !e.ctrlKey)
if (!this.isMenuOpen() && !e.ctrlKey) {
this.openMenu();
(this.recent > 0) && this.flushVisibleFontsTiles();
}
if (e.keyCode == Common.UI.Keys.UP || e.keyCode == Common.UI.Keys.DOWN) {
_.delay(function() {