From 6c82f804aeeec6f8ae117d1341cea5ccc34a4b8a Mon Sep 17 00:00:00 2001 From: xiaotianxt Date: Tue, 28 Mar 2023 11:07:59 +0800 Subject: [PATCH] fix: Enter key bug --- app/components/home.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/components/home.tsx b/app/components/home.tsx index 74434eb0..9d20c32c 100644 --- a/app/components/home.tsx +++ b/app/components/home.tsx @@ -135,7 +135,8 @@ function useSubmitHandler() { (config.submitKey === SubmitKey.Enter && !e.altKey && !e.ctrlKey && - !e.shiftKey) + !e.shiftKey && + !e.metaKey) ); };