don't hide on clicks in popover's content

This commit is contained in:
Henry Jameson 2022-06-15 04:02:05 +03:00
parent 30c4a66518
commit b343599e6f
1 changed files with 1 additions and 0 deletions

View File

@ -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()
},