[feature request] md-input focus class
Bug, feature request, or proposal:
Focus on md-input-element sets the md-focused class on md-input
What is the expected behavior?
I would like to be able to style on all sub elements within the md-input when the input has focus.
What is the current behavior?
Only ripple and placeholder gets a md-focused class added
What are the steps to reproduce?
Set focus on a md-input element check to see if its possible to style all subelements to md-input
What is the use-case or motivation for changing an existing behavior?
Would give more flexibility to modding the design
There's a perfectly correct version by doing something like this:
<md-input #example [class.my-custom-focus]="example.focused">
We do not want to export special classes only for the purpose of styling like this. If you need styling for a component you should apply your own custom classes to it.
Thanks!
Fair enough - and thanks for the simple solution. :)
This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.