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()