fix(components): [menu] fix infinite flicker after choosing subMenu (#8533)

* fix(components): [menu] fix infinite flicker after choosing subMenu

closed #8525, #8487
This commit is contained in:
ParkerFiend 2022-07-01 22:01:35 +08:00 committed by GitHub
parent d746c4617d
commit 609ee571b4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -202,7 +202,7 @@ export default defineComponent({
event: MouseEvent | FocusEvent,
showTimeout = props.showTimeout
) => {
if (event.type === 'focus' && !event.relatedTarget) {
if (event.type === 'focus') {
return
}
if (