Skip to content

Commit

Permalink
Use capturing event listeners
Browse files Browse the repository at this point in the history
  • Loading branch information
i-like-robots committed Apr 23, 2018
1 parent 77e8cd8 commit 817ea80
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/ReactTags.js
Original file line number Diff line number Diff line change
Expand Up @@ -196,10 +196,10 @@ class ReactTags extends React.Component {
</div>
<div
className={this.state.classNames.search}
onInputCapture={this.onInput.bind(this)}
onFocusCapture={this.onFocus.bind(this)}
onBlurCapture={this.onBlur.bind(this)}
onKeyDown={this.onKeyDown.bind(this)}
onInput={this.onInput.bind(this)}>
onKeyDown={this.onKeyDown.bind(this)}>
<Input {...this.state}
id={this.props.id}
ref={(c) => { this.input = c }}
Expand Down

0 comments on commit 817ea80

Please sign in to comment.