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

Floating label inputs - autofill #1008

Open
karolskolasinski opened this issue Dec 11, 2024 · 2 comments
Open

Floating label inputs - autofill #1008

karolskolasinski opened this issue Dec 11, 2024 · 2 comments

Comments

@karolskolasinski
Copy link

Describe the bug
When input fields are auto-filled, the label style with a white background does not fit the blue background of the input field.

To Reproduce
Steps to reproduce the behavior:
call autofill in input

Expected behavior
Either remove the blue background or give the label a blue background (?). Something that will unify the look. I don't know is it a good idea.

Screenshots
image

Desktop (please complete the following information):

  • OS: Linux Mint
  • Browser: chrome
  • Version: 131.0.6778.139
@JalenWasHere
Copy link

JalenWasHere commented Jan 14, 2025

I don't know if this is even possible to fix with just CSS but you could try combining the autofill and peer selector.

Now that I think of it it would look just as weird to have the label be blue background as well. Only other option is disabling autofill styling completely but from a UX standpoint I would avoid that.

@karolskolasinski
Copy link
Author

karolskolasinski commented Jan 14, 2025

at least the rounded borders of the label seem reasonable

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

No branches or pull requests

2 participants