From a0ffc2238b9bcf6886d238f6f027dd2730672048 Mon Sep 17 00:00:00 2001 From: Qing Date: Sat, 25 Mar 2023 13:49:02 +0800 Subject: [PATCH] prevent dropdown menu autoFocus --- lama_cleaner/app/src/components/Plugins/Plugins.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/lama_cleaner/app/src/components/Plugins/Plugins.tsx b/lama_cleaner/app/src/components/Plugins/Plugins.tsx index 49e8f1a..9cd8970 100644 --- a/lama_cleaner/app/src/components/Plugins/Plugins.tsx +++ b/lama_cleaner/app/src/components/Plugins/Plugins.tsx @@ -130,6 +130,7 @@ const Plugins = () => { side="bottom" align="start" sideOffset={5} + onCloseAutoFocus={event => event.preventDefault()} > {renderPlugins()}