We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f6f9e6f commit f2a9018Copy full SHA for f2a9018
packages/floating-vue/src/components/Popper.ts
@@ -334,6 +334,10 @@ export default () => defineComponent({
334
parentPopper () {
335
return this[PROVIDE_KEY]?.parentPopper
336
},
337
+
338
+ hasPopperShowTriggerHover () {
339
+ return this.popperTriggers?.includes('hover') || this.popperShowTriggers?.includes('hover')
340
+ },
341
342
343
watch: {
@@ -440,7 +444,7 @@ export default () => defineComponent({
440
444
}
441
445
442
446
// Abort if aiming for the popper
443
- if (this.$_isAimingPopper()) {
447
+ if (this.hasPopperShowTriggerHover && this.$_isAimingPopper()) {
448
if (this.parentPopper) {
449
this.parentPopper.lockedChild = this
450
clearTimeout(this.parentPopper.lockedChildTimer)
0 commit comments