Topic: Autocomplete Label Remains Blue When Not Focused
nathan.malone asked 5 years ago
Expected Behavior
When the .mdb-autocomplete
is not .active
, I expected the associated label
to return to the normal dark-grey color.
Actual Behavior
When not .active
and with no value in the .mdb-autocomplete
, the associated label
returns to the normal dark-grey color. However, when not .active
and with a value in the .mdb-autocomplete
, the associated label
remains blue.
Example In this snippet, you can duplicate this functionality. The image below is a screenshot of the snippet that illustrates the issue.
Suspected Cause
The selector causing the blue color for the autocomplete labels is .mdb-autocomplete ~ label.active
, which does not seem to take into account whether the .mdb-autocomplete
is .active
, only if the label
is .active
.
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Open
- User: Free
- Premium support: No
- Technology: MDB jQuery
- MDB Version: 4.15.0
- Device: Desktop PC
- Browser: Chrome 81.0.4044.92
- OS: Windows 10
- Provided sample code: No
- Provided link: Yes
Grzegorz Bujański staff commented 5 years ago
Hi. Thank you for report this. I add this to ours to do list. We will fix this.