From 5d712d27d3ff869992653f4a576c935b8b1cd6ef Mon Sep 17 00:00:00 2001 From: Luke Barnard Date: Mon, 22 May 2017 14:45:40 +0100 Subject: [PATCH] autoFocus new password input in SetPasswordDialog --- src/components/views/dialogs/SetPasswordDialog.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/views/dialogs/SetPasswordDialog.js b/src/components/views/dialogs/SetPasswordDialog.js index e0bbee7da..2db64d2f0 100644 --- a/src/components/views/dialogs/SetPasswordDialog.js +++ b/src/components/views/dialogs/SetPasswordDialog.js @@ -75,6 +75,7 @@ export default React.createClass({ rowInputClassName="" buttonClassName="mx_Dialog_primary mx_SetPasswordDialog_change_password_button" confirm={false} + autoFocusNewPasswordInput={true} onError={this._onPasswordChangeError} onFinished={this._onPasswordChanged} />