-
Notifications
You must be signed in to change notification settings - Fork 6.8k
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
fix(checkbox): missing focus indicator #1730
Conversation
7235586
to
8210f09
Compare
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.
CC @tinayuangao for any additional comments
@@ -69,7 +69,7 @@ export class MdCheckboxChange { | |||
'[class.md-checkbox-checked]': 'checked', | |||
'[class.md-checkbox-disabled]': 'disabled', | |||
'[class.md-checkbox-align-end]': 'align == "end"', | |||
'[class.md-checkbox-focused]': 'hasFocus', | |||
'[class.md-ripple-focused]': 'hasFocus', |
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.
Can you add a TODO to only show the focus style when it was caused by keyboard?
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.
Had forgotten about this one. I've added that TODO.
6ab3016
to
82a9d3e
Compare
Just pulled this down to try it out. If I tab between checkboxes quickly, there's a trail of fading focus indicators left in my wake. |
It's the same issue as the one I mentioned here. |
Adds a ripple when a checkbox is focused. Referencing angular#421.
82a9d3e
to
c4712de
Compare
Please rebase |
Closing and will re-do based on the current APIs. |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Adds a ripple when a checkbox is focused.
Referencing #421.