Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Login form username input default focus #3393

Closed
tengcomplex opened this issue May 22, 2024 · 1 comment
Closed

Login form username input default focus #3393

tengcomplex opened this issue May 22, 2024 · 1 comment
Labels

Comments

@tengcomplex
Copy link

Spring Boot Admin Server information

Version:
3.2.3

Spring Boot version:
3.2.4

Configured Security:
Basic auth

Webflux or Servlet application:
Servlet

Client information

Any Browser.

Description

In version 2.7 the ui initialized the login form with autofocus on username.
In 3.2.3 (presumably since spring boot 3 migration) this is not the case anymore.
I couldn't find any reason or discussion where this behaviour maybe was left out on purpose.
When using multiple SBA instances in browser tabs, an initial focus on username field can improve the user experience IHMO.

I can see that in login.html of branch 2.7 it sets autofocus for username field.
In branch master it seems this is not set anymore.

Steps to reproduce

@SteKoe
Copy link
Contributor

SteKoe commented May 22, 2024

Hi @tengcomplex!

Removing the attribute was not on purpose and has just been added to the login page again. It will be shipped in the next release.

Regards,
SteKoe

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants