From 353af25d5c7c39282ef12a79f6535b5e8bf46a9b Mon Sep 17 00:00:00 2001 From: Kelvin Tan Date: Mon, 19 Feb 2024 17:28:58 -0800 Subject: [PATCH] Propagate Enter key events in SuggestionsMenu so that handleLinkInputKeydown() can handle it. (#6556) --- app/editor/components/SuggestionsMenu.tsx | 1 - 1 file changed, 1 deletion(-) diff --git a/app/editor/components/SuggestionsMenu.tsx b/app/editor/components/SuggestionsMenu.tsx index e5ad0856e..5e1a7d5cc 100644 --- a/app/editor/components/SuggestionsMenu.tsx +++ b/app/editor/components/SuggestionsMenu.tsx @@ -467,7 +467,6 @@ function SuggestionsMenu(props: Props) { if (event.key === "Enter") { event.preventDefault(); - event.stopPropagation(); const item = filtered[selectedIndex];