Skip to content

Commit

Permalink
feat: close the popover on mousedown instead of click (#505)
Browse files Browse the repository at this point in the history
  • Loading branch information
schtibe authored Jan 15, 2024
1 parent 59eb911 commit 54b750f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Popover.vue
Original file line number Diff line number Diff line change
Expand Up @@ -688,7 +688,7 @@ if (typeof document !== 'undefined' && typeof window !== 'undefined') {
}
: true)
} else {
window.addEventListener('click', handleGlobalClick, true)
window.addEventListener('mousedown', handleGlobalClick, true)
}
}
Expand Down

0 comments on commit 54b750f

Please sign in to comment.