-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
MudTextField: Fix MudTextField label background #10385
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
MudTextField: Fix MudTextField label background #10385
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## dev #10385 +/- ##
==========================================
+ Coverage 91.43% 91.50% +0.06%
==========================================
Files 418 418
Lines 13226 13227 +1
Branches 2538 2540 +2
==========================================
+ Hits 12093 12103 +10
+ Misses 554 549 -5
+ Partials 579 575 -4 ☔ View full report in Codecov by Sentry. |
1b90c9c to
44255b7
Compare
|
My concern is the lack of background contrast for Shrink Normal and Shrink Dense makes them hard to read. Should probably keep the background color but take it from the field (or whatever's behind it)? I've tried to do that before though and don't have an answer. |
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.
@charles7668 i found one bug. When Shrink Label is used or when the TextFields have a value they are always marked as focused even when they are not?
Fixed |
|
Awesome thanks! I'm just gonna double check with @danielchalmers before i merge. |
|
I should be able to review on the weekend, thank you for the patience! |
danielchalmers
left a comment
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.
Thanks!
|
I wonder why it looks OK on our docs but not for you. Can you reproduce this with try.mudblazor.com ? |
Assume the docs aren't using the pre-release which has the change. If you check the css it looks like the latest commit for the style isn't being used |
|
You are right about the docs running a v7 version. But we also have dev.mudblazor.com which runs current development branch head and it seems ok there too: |
|
Found the cause, I had bootstrap.min.css included in my index.html in particular it was overwriting the |


















Description
Close #6457
Close #9894
How Has This Been Tested?
Add a viewer page named OutlineLabelBackgroundTest
Type of Changes
before

after

Checklist
dev).