Skip to content

email & totp auto focus#353

Merged
notquitenothing merged 2 commits intovoidauth:mainfrom
mxve:totp_focus
Mar 27, 2026
Merged

email & totp auto focus#353
notquitenothing merged 2 commits intovoidauth:mainfrom
mxve:totp_focus

Conversation

@mxve
Copy link
Contributor

@mxve mxve commented Mar 26, 2026

Description

This PR adds the autofocus attribute to the email field and adds a timeout to the focus code for the TOTP field.
autofocus can't be used on the TOTP field as its only relevant on page load, previous focusing code didn't work due to being out of order with other focus calls by the framework i assume.
for firefox simply setting a timeout without any specified time seemed to do the trick while chrome woulndn't budge, which is why i went with a rather high timeout to hopefully get a consistent result across systems.

Related Tickets & Documents

Screenshots

@notquitenothing
Copy link
Collaborator

Thank you for contributing! After reviewing this looks good, I will merge shortly

@notquitenothing notquitenothing merged commit 91b690f into voidauth:main Mar 27, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants