We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 092f93c commit 0d5d6b1Copy full SHA for 0d5d6b1
services/static-webserver/client/source/class/osparc/auth/ui/LoginView.js
@@ -76,10 +76,14 @@ qx.Class.define("osparc.auth.ui.LoginView", {
76
email.getContentElement().setAttribute("autocomplete", "username");
77
osparc.utils.Utils.setIdToWidget(email, "loginUserEmailFld");
78
this._form.add(email, " Email", qx.util.Validate.email(), "email");
79
- this.addListener("appear", () => {
+ const focusEmail = () => {
80
email.focus();
81
email.activate();
82
- });
+ };
83
+ this.addListener("appear", () => {
84
+ focusEmail();
85
+ setTimeout(() => focusEmail(), 100); // refocus
86
+ }, this);
87
88
const pass = new osparc.ui.form.PasswordField().set({
89
required: true
0 commit comments