Auto close popover on outside click
This commit is contained in:
parent
42ccccb83a
commit
18d852e86f
|
@ -214,7 +214,8 @@
|
||||||
.then(Popover => {
|
.then(Popover => {
|
||||||
new Popover.default(this.$el.querySelector('.popover-button'), {
|
new Popover.default(this.$el.querySelector('.popover-button'), {
|
||||||
content: document.querySelector('.popover-content'),
|
content: document.querySelector('.popover-content'),
|
||||||
sanitize: false
|
sanitize: false,
|
||||||
|
trigger: 'focus'
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue