Skip to content

Commit

Permalink
focus and readOnly fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ibarrick committed Nov 2, 2016
1 parent 420e947 commit f333388
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/templates/components/paper-chips.hbs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<md-chips-wrap class="md-chips {{if isFocused 'md-focused'}}" tabindex="-1" onkeydown={{action 'keyDown'}} onfocus={{action 'chipsFocus'}} onblur={{action 'chipsBlur'}}>
<md-chips-wrap class="md-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">
{{#if hasBlock}}
{{yield item}}
Expand Down

0 comments on commit f333388

Please sign in to comment.