Skip to content

Commit

Permalink
Merge pull request #1 from reedsy/safari-proxy-fix
Browse files Browse the repository at this point in the history
Fix to Safari Proxy bug
  • Loading branch information
bornajazvo authored Oct 23, 2023
2 parents 96b5be6 + 05e525c commit c0297f5
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "floating-vue-monorepo",
"packageManager": "[email protected]",
"version": "2.0.0-beta.24",
"version": "2.0.0-reedsy.1.0.2",
"private": true,
"scripts": {
"build": "pnpm -r --filter=\"./packages/*\" run build",
Expand Down
2 changes: 1 addition & 1 deletion packages/floating-vue/package.json
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>",
"scripts": {
Expand Down
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) {

Check warning on line 686 in packages/floating-vue/src/components/Popper.ts

View workflow job for this annotation

GitHub Actions / build

'event' is assigned a value but never used
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 c0297f5

Please sign in to comment.