From 1e66ddc9b575c4487b02ef1a38543b847c6e1cfe Mon Sep 17 00:00:00 2001 From: bornajazvo <41785864+bornajazvo@users.noreply.github.com> Date: Mon, 23 Oct 2023 09:54:53 +0100 Subject: [PATCH] Fix to Safari Proxy bug --- packages/floating-vue/src/components/Popper.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/floating-vue/src/components/Popper.ts b/packages/floating-vue/src/components/Popper.ts index 76e38860..c7ea7d31 100644 --- a/packages/floating-vue/src/components/Popper.ts +++ b/packages/floating-vue/src/components/Popper.ts @@ -450,7 +450,7 @@ export default () => defineComponent({ if (this.$_hideInProgress) return // Abort if child is shown - if (this.shownChildren.size > 0) { + if (new Set(this.shownChildren).size > 0) { this.$_pendingHide = true return } @@ -684,7 +684,7 @@ export default () => defineComponent({ }, $_scheduleHide (event = null, skipDelay = false) { - if (this.shownChildren.size > 0) { + if (new Set(this.shownChildren).size > 0) { this.$_pendingHide = true return } @@ -788,7 +788,7 @@ export default () => defineComponent({ }, async $_applyHide (skipTransition = false) { - if (this.shownChildren.size > 0) { + if (new Set(this.shownChildren).size > 0) { this.$_pendingHide = true this.$_hideInProgress = false return