Skip to content

Commit

Permalink
fix: only stop hiding of parents
Browse files Browse the repository at this point in the history
  • Loading branch information
fabkho committed Sep 12, 2024
1 parent c59e8b3 commit 491fa5e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/floating-vue/src/components/Popper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1120,6 +1120,8 @@ function handleGlobalClose (event: PopperEvent, touch: boolean) {
}

// Auto hide parents
if (!popper.hideParents) return

let parent = popper.parentPopper as PopperInstance
while (parent) {
if (shouldAutoHide(parent, parent.containsGlobalTarget, event)) {
Expand Down

0 comments on commit 491fa5e

Please sign in to comment.