Skip to content

Commit

Permalink
fix: add select focus and blur events
Browse files Browse the repository at this point in the history
  • Loading branch information
tangjinzhou committed Jun 21, 2018
1 parent 33da99c commit 52f6f50
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions components/vc-select/Select.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -1469,10 +1469,12 @@ export default {
}
this._focused = true
this.updateFocusClassName()
this.$emit('focus')
},
selectionRefBlur (e) {
this._focused = false
this.updateFocusClassName()
this.$emit('blur')
},
},

Expand Down

0 comments on commit 52f6f50

Please sign in to comment.