File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -122,7 +122,7 @@ class AutoComplete extends Component {
122
122
and selecting an option.
123
123
*/
124
124
handleKeyDown = ( e ) => {
125
- e . stopPropagation ( ) ;
125
+ e . preventDefault ( ) ;
126
126
const { data, focus, input } = this . state ;
127
127
const { labelKey, onChange } = this . props ;
128
128
const inputlabel = input [ `${ labelKey } ` ] . toLowerCase ( ) ;
Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ class MultiSelect extends Component {
64
64
} ;
65
65
66
66
handleKeyPress = ( e ) => {
67
- e . stopPropagation ( ) ;
67
+ e . preventDefault ( ) ;
68
68
const { options } = this . props ;
69
69
const { input, selected, focus } = this . state ;
70
70
const isValid =
Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ class Select extends Component {
50
50
* @memberof Select
51
51
*/
52
52
handleKeyDown = ( e ) => {
53
- e . stopPropagation ( ) ;
53
+ e . preventDefault ( ) ;
54
54
const { focus } = this . state ;
55
55
const { options } = this . props ;
56
56
switch ( e . key ) {
You can’t perform that action at this time.
0 commit comments