Skip to content

Commit

Permalink
Fix to Safari Proxy bug
Browse files Browse the repository at this point in the history
  • Loading branch information
bornajazvo committed Oct 23, 2023
1 parent 75e5150 commit 1e66ddc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/floating-vue/src/components/Popper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down Expand Up @@ -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
}
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 1e66ddc

Please sign in to comment.