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

Password autofill in Chrome disables the field's border-radius #4767

Closed
janstieler opened this issue Oct 6, 2022 · 4 comments · Fixed by #4777
Closed

Password autofill in Chrome disables the field's border-radius #4767

janstieler opened this issue Oct 6, 2022 · 4 comments · Fixed by #4777
Assignees

Comments

@janstieler
Copy link

Hi,
if the password field in the panel login form is prefilled the blue background from Chrome breaks the borderradius.
I'm actually not sure if this is fixable. As we know the prefill makes some headaches.

Bildschirmfoto 2022-10-06 um 19 41 26

@lukasbestle lukasbestle changed the title Found a little Ui mistake Password autofill in Chrome disables the field's border-radius Oct 6, 2022
@lukasbestle
Copy link
Member

Don't think that's fixable TBH because Chrome injects some magic into the UI that we don't have any control over.

@distantnative
Copy link
Member

@janstieler maybe you could test with a custom Panel CSS whether the prefilling from Chrome can be styled via https://developer.mozilla.org/en-US/docs/Web/CSS/:autofill

@distantnative distantnative added the needs: information ❓ Requires more information to proceed label Oct 8, 2022
@janstieler
Copy link
Author

janstieler commented Oct 8, 2022

Hi,
I tried a little bit and it was easy to fix with:

.k-input[data-theme=field] .k-number-input, 
.k-input[data-theme=field] .k-select-input, 
.k-input[data-theme=field] .k-text-input {
    border-radius: 3px 0 0 3px;

and this is in the regular panel.css .
Bildschirmfoto 2022-10-08 um 20 44 17

Cheers

@lukasbestle lukasbestle added type: enhancement ✨ and removed needs: information ❓ Requires more information to proceed labels Oct 9, 2022
@distantnative distantnative self-assigned this Oct 10, 2022
@distantnative distantnative linked a pull request Oct 10, 2022 that will close this issue
5 tasks
@bastianallgeier
Copy link
Member

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

Successfully merging a pull request may close this issue.

4 participants