We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 38a3a45 + d851b8c commit 902093fCopy full SHA for 902093f
src/Select.js
@@ -425,14 +425,13 @@ var Select = React.createClass({
425
},
426
427
handleKeyDown: function(event) {
428
- event.preventDefault();
429
if (this.props.disabled) return;
430
switch (event.keyCode) {
431
case 8: // backspace
432
if (!this.state.inputValue && this.props.backspaceRemoves) {
433
this.popValue();
434
}
435
- return;
+ break;
436
case 9: // tab
437
if (event.shiftKey || !this.state.isOpen || !this.state.focusedOption) {
438
return;
0 commit comments