commit: b343599e6f71bc68f868ac3d44d37af4b1f2665f
parent 30c4a66518329b307d06f1fcfc39a7bf0c453f28
Author: Henry Jameson <me@hjkos.com>
Date: Wed, 15 Jun 2022 04:02:05 +0300
don't hide on clicks in popover's content
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/src/components/popover/popover.js b/src/components/popover/popover.js
@@ -219,6 +219,7 @@ const Popover = {
},
onClickOutside (e) {
if (this.hidden) return
+ if (this.$refs.content.contains(e.target)) return
if (this.$el.contains(e.target)) return
this.hidePopover()
},