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

focus fix for contact chips #3

Merged
merged 1 commit into from
Nov 3, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions app/templates/components/paper-contact-chips.hbs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<md-chips class="md-chips md-contact-chips {{if isFocused 'md-focused'}}">
<md-chips-wrap class="md-chips md-contact-chips {{if isFocused 'md-focused'}}" tabindex="-1" onkeydown={{action 'keyDown'}} onfocus={{action 'chipsFocus'}} onblur={{action 'chipsBlur'}}>
<md-chips class="md-chips md-contact-chips {{if (and (not readOnly) isFocused) 'md-focused'}}">
<md-chips-wrap class="md-chips md-contact-chips {{if (and (not readOnly) isFocused) 'md-focused'}}" tabindex="-1" onkeydown={{action 'keyDown'}} onfocus={{action 'chipsFocus'}} onblur={{action 'chipsBlur'}}>
{{#each content as |item index|}}
<md-chip class="md-chip md-default-theme {{if (eq activeChip index) 'md-focused'}}">
<md-chip class="md-chip md-default-theme {{if readOnly 'md-readonly'}} {{if (eq activeChip index) 'md-focused'}}">
<div class="md-chip-content" tabindex="-1" aria-hidden="true">
<div class="md-contact-avatar">
<img src={{item.image}}>
Expand Down