fix turd that kept breaking UI on hot reload
This commit is contained in:
parent
a96f533777
commit
5958c32acf
1 changed files with 2 additions and 2 deletions
|
|
@ -299,8 +299,8 @@ const Popover = {
|
||||||
if (this.trigger === 'click') {
|
if (this.trigger === 'click') {
|
||||||
document.removeEventListener('click', this.onClickOutside)
|
document.removeEventListener('click', this.onClickOutside)
|
||||||
}
|
}
|
||||||
this.scrollable.removeEventListener('scroll', this.onScroll)
|
this.scrollable?.removeEventListener('scroll', this.onScroll)
|
||||||
this.scrollable.removeEventListener('resize', this.onResize)
|
this.scrollable?.removeEventListener('resize', this.onResize)
|
||||||
},
|
},
|
||||||
resizePopover () {
|
resizePopover () {
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue