Skip to content

Commit

Permalink
Chore: tags-input now focuses by clicking any free space inside
Browse files Browse the repository at this point in the history
  • Loading branch information
andrey-skl committed Dec 5, 2017
1 parent 3241b3b commit 56df758
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/tags-input/tags-input.js
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ export default class TagsInput extends Component {
}

clickHandler = event => {
if (!event.target.matches(this.getInputNode().tagName)) {
if (event.target !== this.node) {
return;
}

Expand Down

0 comments on commit 56df758

Please sign in to comment.