chore(SchemaSettingsDropdown): make menu visibility more stable

This commit is contained in:
Zeke Zhang 2024-11-03 16:35:47 +08:00
parent 4115f54519
commit def498c203

View File

@ -189,7 +189,6 @@ export const SchemaSettingsDropdown: React.FC<SchemaSettingsProps> = React.memo(
const handleMouseEnter = () => { const handleMouseEnter = () => {
setOpenDropdown(true); setOpenDropdown(true);
setVisible(true);
}; };
// 从这里截断,可以保证每次显示时都是最新状态的菜单列表 // 从这里截断,可以保证每次显示时都是最新状态的菜单列表