Skip to content

Commit

Permalink
Merge pull request #3551 from pdf/auto-complete-focus
Browse files Browse the repository at this point in the history
[AutoComplete] Proxy focus/blur calls to refs.searchTextField
  • Loading branch information
oliviertassinari committed Mar 3, 2016
2 parents 973b555 + 3382992 commit 42c5aa5
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/auto-complete.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -374,6 +374,14 @@ const AutoComplete = React.createClass({
}
},

blur() {
this.refs.searchTextField.blur();
},

focus() {
this.refs.searchTextField.focus();
},

render() {
const {
anchorOrigin,
Expand Down

0 comments on commit 42c5aa5

Please sign in to comment.