settings: Focus sync passphrase field after entering wrong passphrase
The user is likely to try re-entering their passphrase, so ensure focus stays in the input field. Convert the Print Preview PIN settings element to use the same approach to focus, so callers aren't depending on internal implementation details of cr-input. Bug: 805829 Test: See bug. sign in to account with sync passphrase, enter incorrect phrase, focus returns to input field. Tested with both Chrome OS and Linux. Change-Id: I012f5b5368654c8b0f36b66f9fd07124d394c9a5 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1832632Reviewed-by:Steven Bennetts <stevenjb@chromium.org> Reviewed-by:
Rebekah Potter <rbpotter@chromium.org> Auto-Submit: James Cook <jamescook@chromium.org> Commit-Queue: James Cook <jamescook@chromium.org> Cr-Commit-Position: refs/heads/master@{#702032}
Showing
Please register or sign in to comment