Skip to content
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.

fix(autocomplete): don't apply a background if the autocomplete has a floating label #7848

Closed

Conversation

crisbeto
Copy link
Member

@crisbeto crisbeto commented Apr 1, 2016

The grey background should only be applied if the autocomplete doesn't have a floating label.

Closes #7841.

… floating label

The grey background should only be applied if the autocomplete doesn't have a floating label.

Closes angular#7841.
@crisbeto crisbeto added the needs: review This PR is waiting on review from the team label Apr 1, 2016
@ThomasBurleson
Copy link
Contributor

@crisbeto - attribute selectors cause perf issues in IE; at least the Layout selectors did.
Can you confirm (a) this does not degrade IE perf or (b) provide a classname approach to solve this instead?

I suspect (a)... but would you appreciate your investigation.

@crisbeto
Copy link
Member Author

crisbeto commented Apr 2, 2016

@ThomasBurleson There isn't any noticeable difference, but these things tend to stack up over time. I went with the attribute selector, because that's what was being used to style the floating label mode in the first place. I can switch it over to a class selector but that might be considered a breaking change?

@ThomasBurleson ThomasBurleson added pr: merge ready This PR is ready for a caretaker to review and removed needs: review This PR is waiting on review from the team labels Apr 3, 2016
ilovett pushed a commit to ilovett/material that referenced this pull request Apr 22, 2016
… floating label

The grey background should only be applied if the autocomplete doesn't have a floating label.

Closes angular#7841.

Closes angular#7848
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
pr: merge ready This PR is ready for a caretaker to review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants