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.
1 parent 8417216 commit c505642Copy full SHA for c505642
1 file changed
packages/autocomplete/src/useAutoComplete.ts
@@ -390,6 +390,7 @@ export function useAutoComplete({
390
break;
391
case "Enter":
392
if (visible && focusedIndex >= 0) {
393
+ event.preventDefault();
394
event.stopPropagation();
395
handleAutoComplete(focusedIndex);
396
hide();
0 commit comments