From def498c20368ed5a521a858fe23e0f8b4e45200a Mon Sep 17 00:00:00 2001 From: Zeke Zhang <958414905@qq.com> Date: Sun, 3 Nov 2024 16:35:47 +0800 Subject: [PATCH] chore(SchemaSettingsDropdown): make menu visibility more stable --- packages/core/client/src/schema-settings/SchemaSettings.tsx | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/core/client/src/schema-settings/SchemaSettings.tsx b/packages/core/client/src/schema-settings/SchemaSettings.tsx index 08182e4f69..7d2f8f43fc 100644 --- a/packages/core/client/src/schema-settings/SchemaSettings.tsx +++ b/packages/core/client/src/schema-settings/SchemaSettings.tsx @@ -189,7 +189,6 @@ export const SchemaSettingsDropdown: React.FC = React.memo( const handleMouseEnter = () => { setOpenDropdown(true); - setVisible(true); }; // 从这里截断,可以保证每次显示时都是最新状态的菜单列表