From 469c4108ef7b10dbc5dad30404d7bb51fcd271b5 Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Fri, 11 Mar 2022 15:05:15 +0300 Subject: [PATCH] Fix Bug 55990 --- apps/common/main/lib/component/InputField.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/apps/common/main/lib/component/InputField.js b/apps/common/main/lib/component/InputField.js index 28f1d30b6c..d8148a1132 100644 --- a/apps/common/main/lib/component/InputField.js +++ b/apps/common/main/lib/component/InputField.js @@ -605,6 +605,10 @@ define([ this.passwordHide(e); this.hidePwd = true; } + var me = this; + setTimeout(function () { + me.focus(); + }, 1); }, passwordShow: function (e) { @@ -643,6 +647,10 @@ define([ else { this._btnElm.off('mouseup', this.passwordHide); this._btnElm.off('mouseout', this.passwordHide); + var me = this; + setTimeout(function () { + me.focus(); + }, 1); } }, textHintShowPwd: 'Show password',