-
Notifications
You must be signed in to change notification settings - Fork 6.8k
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(input, select, autocomplete): wrong cursor on hover inner padding #26491
Comments
Looks to me like this fix is the culprit. If you remove the |
@RobinKamps This was actually intended by me. Since clicking the label is actually focusing the input I think it make sense to style it as a text cursor. Couldn't find much about it in the specs though... @crisbeto What do you think? |
Yeah I think it makes sense that it's styled as a text cursor since it is a text input. |
its not about the text cursor, but about where it should be applied. Angular Material MDC implementation has text cursor on the labels and different margins on appearance outline. |
but anyway: using the whole input (without any default cursor)
results in a much better user experience in my opinion then the different cursors/paddings etc. |
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. |
Is this a regression?
The previous version in which this bug was not present was
No response
Description
According to the Material Standard the cursor should always be text for autocomplete & input and pointer for select.
Instead the cursor is only set to text/pointer on the standard html element - not the container, which has a padding where the cursors are default.
On the select it gets a bit more wierd, because the cursor wobbles from default (on the container padding) to text (on the label) to the pointer (on the html standard input).
Reproduction
Steps to reproduce:
Expected Behavior
the cursor should stay the same if hovered over the component.
Actual Behavior
the cursor is different on the container padding / label (not material strandard compliant)
Environment
The text was updated successfully, but these errors were encountered: