Skip to content
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

Closed
wants to merge 2 commits into from

Conversation

crisbeto
Copy link
Member

@crisbeto crisbeto commented Nov 4, 2016

Adds a ripple when a checkbox is focused.

Referencing #421.

@googlebot googlebot added cla: yes PR author has agreed to Google's Contributor License Agreement labels Nov 4, 2016
@crisbeto crisbeto force-pushed the 421/checkbox-focus-ripples branch from 7235586 to 8210f09 Compare November 4, 2016 18:50
Copy link
Member

@jelbourn jelbourn left a 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',
Copy link
Member

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?

Copy link
Member Author

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.

@crisbeto crisbeto force-pushed the 421/checkbox-focus-ripples branch 2 times, most recently from 6ab3016 to 82a9d3e Compare November 19, 2016 07:52
@jelbourn
Copy link
Member

jelbourn commented Dec 2, 2016

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.

@crisbeto
Copy link
Member Author

crisbeto commented Dec 3, 2016

It's the same issue as the one I mentioned here.

Adds a ripple when a checkbox is focused.

Referencing angular#421.
@crisbeto crisbeto force-pushed the 421/checkbox-focus-ripples branch from 82a9d3e to c4712de Compare December 18, 2016 10:43
@andrewseguin
Copy link
Contributor

Please rebase

@crisbeto
Copy link
Member Author

Closing and will re-do based on the current APIs.

@crisbeto crisbeto closed this Feb 18, 2017
@angular-automatic-lock-bot
Copy link

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.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 6, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
cla: yes PR author has agreed to Google's Contributor License Agreement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants