aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorkPherox <admin@mail.kr-kp.com>2019-12-02 23:03:06 +0900
committerkPherox <admin@mail.kr-kp.com>2020-06-19 20:51:53 +0900
commitfd2157efe48e49f40f17b81cd79d9b45a304bc62 (patch)
treea5acb1d0f6179f0b894b68e37eb559023f573843 /src
parentcc4691a4efec91318284869164419d286bda44a5 (diff)
Fix emoji input error
Diffstat (limited to 'src')
-rw-r--r--src/components/emoji_input/emoji_input.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/components/emoji_input/emoji_input.js b/src/components/emoji_input/emoji_input.js
index f4c3479c..7974a66d 100644
--- a/src/components/emoji_input/emoji_input.js
+++ b/src/components/emoji_input/emoji_input.js
@@ -431,6 +431,7 @@ const EmojiInput = {
const offsetBottom = offsetTop + offsetHeight
panel.style.top = offsetBottom + 'px'
+ if (!picker) return
picker.$el.style.top = offsetBottom + 'px'
picker.$el.style.bottom = 'auto'
}