Skip to content

fix(checkbox): missing focus indicator - #1730

Closed
crisbeto wants to merge 2 commits into
angular:masterfrom
crisbeto:421/checkbox-focus-ripples
Closed

crisbeto wants to merge 2 commits into
angular:masterfrom
crisbeto:421/checkbox-focus-ripples

Conversation

@crisbeto

@crisbeto crisbeto commented Nov 4, 2016

Copy link
Copy Markdown
Member

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

@jelbourn jelbourn left a comment

Copy link
Copy Markdown
Contributor

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

Comment thread src/lib/checkbox/checkbox.ts Outdated
'[class.md-checkbox-disabled]': 'disabled',
'[class.md-checkbox-align-end]': 'align == "end"',
'[class.md-checkbox-focused]': 'hasFocus',
'[class.md-ripple-focused]': 'hasFocus',

Copy link
Copy Markdown
Contributor

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
Copy Markdown
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

jelbourn commented Dec 2, 2016

Copy link
Copy Markdown
Contributor

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

crisbeto commented Dec 3, 2016

Copy link
Copy Markdown
Member Author

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
Copy Markdown
Contributor

Please rebase

@crisbeto

Copy link
Copy Markdown
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
Copy Markdown

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