diff --git a/components/lib/autocomplete/AutoComplete.js b/components/lib/autocomplete/AutoComplete.js index 23340a327a..5aa8514124 100644 --- a/components/lib/autocomplete/AutoComplete.js +++ b/components/lib/autocomplete/AutoComplete.js @@ -277,9 +277,9 @@ export const AutoComplete = React.memo(React.forwardRef((props, ref) => { if (highlightItem) { selectHighlightItem(event, highlightItem); hide(); + event.preventDefault(); } - event.preventDefault(); break; //escape