Auto close popover on outside click

This commit is contained in:
Chocobozzz 2023-03-01 16:25:06 +01:00
parent 42ccccb83a
commit 18d852e86f
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 2 additions and 1 deletions

View File

@ -214,7 +214,8 @@
.then(Popover => {
new Popover.default(this.$el.querySelector('.popover-button'), {
content: document.querySelector('.popover-content'),
sanitize: false
sanitize: false,
trigger: 'focus'
})
})