fix picker not filling on opening, removed console log

This commit is contained in:
Henry Jameson 2019-10-10 19:58:00 +03:00
parent c000879f2f
commit 1400d723f2
2 changed files with 1 additions and 2 deletions

View file

@ -312,7 +312,6 @@ const EmojiInput = {
this.$nextTick(() => {
const { offsetHeight } = this.input.elm
const { picker } = this.$refs
console.log(picker)
const pickerBottom = picker.$el.getBoundingClientRect().bottom
if (pickerBottom > window.innerHeight) {
picker.$el.style.top = 'auto'