diff --git a/package.json b/package.json index 6ef95356..9b5b9965 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "floating-vue-monorepo", "packageManager": "pnpm@8.6.2", - "version": "2.0.0-beta.24", + "version": "2.0.0-reedsy.1.0.2", "private": true, "scripts": { "build": "pnpm -r --filter=\"./packages/*\" run build", diff --git a/packages/floating-vue/package.json b/packages/floating-vue/package.json index 5572f02d..ee04f2f4 100644 --- a/packages/floating-vue/package.json +++ b/packages/floating-vue/package.json @@ -1,6 +1,6 @@ { "name": "@reedsy/floating-vue", - "version": "2.0.0-reedsy.1.0.1", + "version": "2.0.0-reedsy.1.0.2", "description": "Easy Vue tooltips, dropdowns, menus & popovers using floating-ui", "author": "Guillaume Chau ", "scripts": { 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