Skip to content

Commit

Permalink
fix chip color on focus
Browse files Browse the repository at this point in the history
  • Loading branch information
dmstern committed Aug 9, 2018
1 parent ab57ac1 commit 1175125
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@
:items="searchItems"
v-model="selectedPackage"
@input.native="hasFocus = true"
@focus="hasFocus = true"
@blur="hasFocus = false"
@change="onSearchChange"
>
Expand Down Expand Up @@ -185,6 +186,7 @@ export default class App extends Vue {
}
private onSearchChange(values: string[]) {
this.hasFocus = true;
for (const value of values) {
const item = JSON.parse(value);
const isPackage = item.name !== undefined;
Expand Down

0 comments on commit 1175125

Please sign in to comment.