Skip to content
This repository has been archived by the owner on Dec 23, 2022. It is now read-only.

Commit

Permalink
Closes #68
Browse files Browse the repository at this point in the history
  • Loading branch information
avocadowastaken committed Jan 8, 2017
1 parent 283e25e commit 4d6c3c0
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/ChipInput.js
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,11 @@ class ChipInput extends React.Component {
if (this.autoComplete) {
this.getInputNode().focus();
if (this.props.openOnFocus) {
this.autoComplete.setState({ open: true })
this.autoComplete.setState({
open: true,
anchorEl: this.getInputNode(),
})

this.autoComplete.forceUpdate()
}
}
Expand Down

0 comments on commit 4d6c3c0

Please sign in to comment.