This commit is contained in:
Henry Jameson 2024-06-26 00:13:57 +03:00
parent 6447f89d77
commit e72552e75c

View file

@ -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