don't hide on clicks in popover's content
This commit is contained in:
parent
30c4a66518
commit
b343599e6f
|
@ -219,6 +219,7 @@ const Popover = {
|
||||||
},
|
},
|
||||||
onClickOutside (e) {
|
onClickOutside (e) {
|
||||||
if (this.hidden) return
|
if (this.hidden) return
|
||||||
|
if (this.$refs.content.contains(e.target)) return
|
||||||
if (this.$el.contains(e.target)) return
|
if (this.$el.contains(e.target)) return
|
||||||
this.hidePopover()
|
this.hidePopover()
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue