-
-
Notifications
You must be signed in to change notification settings - Fork 32.4k
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
[TextField] Password eye icon disappears in Edge #44756
Comments
@loronange I can't reproduce in both demos you linked – this and this – in particular the ones under "Form props" do not have any adornments Could you share a sandbox or a recording? |
Here is a video recording. I did that test on Edge: I noticed that on Chrome, the eye icon does not show at all. |
@loronange This is the "password reveal button" from Edge: https://learn.microsoft.com/en-us/microsoft-edge/web-platform/password-reveal You can suppress it with CSS: ::-ms-reveal {
display: none;
} |
Hi @loronange! The behavior you're experiencing in Edge is not related to the TextField component from Material UI. As you can see in the screen recording below, Edge has this behavior in native Kapture.2024-12-19.at.15.42.12.mp4The demo is from https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/password Closing this since is the expected behavior. |
Steps to reproduce
Steps:
If you add an adornment then you get two eye icons when entering text as seen in the documentation here
Current behavior
The eye icon disappear from TextField of type password after refocus
Expected behavior
The eye icon should either always be there or not be there at all when the user types the password
Context
I want the user to have the option to view the password in plain text by clicking the eye icon
Your environment
Search keywords: TextField password type icon
The text was updated successfully, but these errors were encountered: