Fix emoji input error

This commit is contained in:
kPherox 2019-12-02 23:03:06 +09:00
parent cc4691a4ef
commit fd2157efe4
No known key found for this signature in database
GPG Key ID: C04751C2BFA2F62D

View File

@ -431,6 +431,7 @@ const EmojiInput = {
const offsetBottom = offsetTop + offsetHeight const offsetBottom = offsetTop + offsetHeight
panel.style.top = offsetBottom + 'px' panel.style.top = offsetBottom + 'px'
if (!picker) return
picker.$el.style.top = offsetBottom + 'px' picker.$el.style.top = offsetBottom + 'px'
picker.$el.style.bottom = 'auto' picker.$el.style.bottom = 'auto'
} }