-
Notifications
You must be signed in to change notification settings - Fork 6.7k
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
bug(autocomplete): input underline goes under the autocomplete container #5709
Comments
Are you sure this is the behaviour in more than just one browser? |
I used two different computers, and both had latest version of chrome on it. |
I'm not talking about other computer. I'm talking about different browsers, like Internet Explorer 11, Microsoft Edge, Mozilla Firefox and Apple Safari. Does it occur in these browsers as well? |
I tried with the two different computers, with different screen size and resolutions. Could you please try the autocomplete using IE, FireFox and Safari and provide screenshot of their behavior? |
Thanks a lot! Good screenshots It seems that just I and Edge are showing it almost correctly. But if you look carefully at the IE and Edge screenshot you might see it's not showing the underline as its current height is! I wish my PR works to fix this Thanks again for screenshots! |
The autocomplete offset really depends on the @crisbeto I wonder if the css could be refactored in some way to share the value? The hardcoded 6/8px offset seems really fragile. Maybe #4914 could help, but instead of attaching to |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Bug, feature request, or proposal:
Bug
What is the expected behavior?
The autocomplete is a normal text input and it should follow inputs style and behavior.
I expect when the autocomplete input is active I can see the input underline (aka input line)
What is the current behavior?
The underline (input line) goes under the autocomplete container. The image bellow shows the current behavior:
https://material.angular.io/components/autocomplete/examples
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
The text was updated successfully, but these errors were encountered: