error?
This commit is contained in:
parent
6447f89d77
commit
e72552e75c
1 changed files with 4 additions and 0 deletions
|
@ -206,6 +206,10 @@ const EmojiPicker = {
|
|||
scrollHeader () {
|
||||
// Scroll the active tab's header into view
|
||||
const headerRef = this.groupRefs['group-header-' + this.activeGroup]
|
||||
if (!headerRef) {
|
||||
console.err('ERROR IN HEADER SCROLL')
|
||||
return
|
||||
}
|
||||
const left = headerRef.offsetLeft
|
||||
const right = left + headerRef.offsetWidth
|
||||
const headerCont = this.$refs.header
|
||||
|
|
Loading…
Add table
Reference in a new issue