Skip to content

Commit

Permalink
fix(Select): bug of onEnter
Browse files Browse the repository at this point in the history
  • Loading branch information
潕量 committed Nov 21, 2018
1 parent b80e4bb commit 17e13cd
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/select/select.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -440,6 +440,10 @@ class Select extends Base {

const { highlightKey } = this.state;

if(highlightKey === null) {
return;
}

const { mode } = this.props;

if (mode === 'single') {
Expand Down

0 comments on commit 17e13cd

Please sign in to comment.