Skip to content

Commit

Permalink
fix key events
Browse files Browse the repository at this point in the history
  • Loading branch information
shahzad31 committed Feb 23, 2021
1 parent e574bba commit 3af405c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -171,8 +171,8 @@ export const Typeahead: React.FC<TypeaheadProps> = ({
}}
disabled={disabled}
value={value}
onKeyDown={onKeyDown}
onKeyUp={onKeyUp}
onKeyDown={kqlSyntax ? onKeyDown : undefined}
onKeyUp={kqlSyntax ? onKeyUp : undefined}
onFocus={onFocus}
onChange={onChangeInputValue}
onClick={onClickInput}
Expand Down

0 comments on commit 3af405c

Please sign in to comment.