Skip to content

Commit 48268ea

Browse files
committed
fix(popper): menu closing on hover over item
1 parent e3ffe00 commit 48268ea

File tree

1 file changed

+6
-6
lines changed
  • packages/floating-vue/src/components

1 file changed

+6
-6
lines changed

packages/floating-vue/src/components/Popper.ts

+6-6
Original file line numberDiff line numberDiff line change
@@ -467,12 +467,12 @@ const createPopper = () => defineComponent({
467467
if (this.parentPopper) {
468468
this.parentPopper.lockedChild = this
469469
clearTimeout(this.parentPopper.lockedChildTimer)
470-
this.parentPopper.lockedChildTimer = setTimeout(() => {
471-
if (this.parentPopper.lockedChild === this) {
472-
this.parentPopper.lockedChild.hide({ skipDelay })
473-
this.parentPopper.lockedChild = null
474-
}
475-
}, 1000)
470+
// this.parentPopper.lockedChildTimer = setTimeout(() => {
471+
// if (this.parentPopper.lockedChild !== this) {
472+
// this.parentPopper.lockedChild.hide({ skipDelay })
473+
// this.parentPopper.lockedChild = null
474+
// }
475+
// }, 1000)
476476
}
477477
return
478478
}

0 commit comments

Comments
 (0)