don't hide on clicks in popover's content
This commit is contained in:
parent
30c4a66518
commit
b343599e6f
1 changed files with 1 additions and 0 deletions
|
@ -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()
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue