-
-
Notifications
You must be signed in to change notification settings - Fork 32.3k
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] Fix blurry text on label #19547
Conversation
Details of bundle changes.Comparing: 62e439b...56b4f2b
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would
* { z-index: 0 }
globally also work?
It looks like we might have (or will have) this issue in other places as well. Seems like it would be better to fix it automatically.
@eps1lon I think |
Can the z-index be scoped to the label? Would it still work? Why is the filled variant the only impacted? |
@oliviertassinari InputLabel already has |
@oliviertassinari filled variant impacted because |
@chybisov Thanks for the fix and additional context 👍 |
This change generated a bug when using |
@andrelmlins could you please create an issue with explanation? |
@andrelmlins - I just saw your comment ... the issue #19677 I linked to this PR describes the issue you mention and has plenty of detail. This will break any field component that renders things like dropdown menus as children. For example for any absolute positioned elements with In the issue I raised checkboxes were appearing on top of the dropdown as you can see in the screen grab. |
So now everyone who uses absolute positions have to fix them in all projects? |
Could we continue the follow-up discussion in #19677? It seems that we have to make a tradeoff. The more information we have, on each side, the best compromise we can find. |
This reverts commit 9c3904d.
This reverts commit 9c3904d.
This PR fixes blurry text on label.
When we use variant="filled" and have progress on page then text will be blurred during progress animation.
Example https://codesandbox.io/s/material-demo-0cv2h
without animation
with animation
Also there was similar issue #17443 and PR for that #17453 we previously fixed.