|
@@ -149,6 +149,7 @@ const SearchTypeahead: ForwardRefRenderFunction<IFocusable, Props> = (props: Pro
|
|
|
const keyDownHandler = useCallback((event: KeyboardEvent) => {
|
|
const keyDownHandler = useCallback((event: KeyboardEvent) => {
|
|
|
if (event.key === 'Enter') {
|
|
if (event.key === 'Enter') {
|
|
|
// do nothing while composing
|
|
// do nothing while composing
|
|
|
|
|
+ // "event.isComposing" is not supported
|
|
|
if (event.nativeEvent.isComposing) {
|
|
if (event.nativeEvent.isComposing) {
|
|
|
return;
|
|
return;
|
|
|
}
|
|
}
|