aboutsummaryrefslogtreecommitdiff
path: root/src/components/popover/popover.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/popover/popover.js')
-rw-r--r--src/components/popover/popover.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/popover/popover.js b/src/components/popover/popover.js
index f23df826..67bb1037 100644
--- a/src/components/popover/popover.js
+++ b/src/components/popover/popover.js
@@ -262,7 +262,7 @@ const Popover = {
},
onClickOutside (e) {
if (this.hidden) return
- if (this.$refs.content.contains(e.target)) return
+ if (this.$refs.content && this.$refs.content.contains(e.target)) return
if (this.$el.contains(e.target)) return
if (this.childrenShown.size > 0) return
this.hidePopover()