diff --git a/src/components/emoji_picker/emoji_picker.js b/src/components/emoji_picker/emoji_picker.js index 6db19ab50..ac63fcdb8 100644 --- a/src/components/emoji_picker/emoji_picker.js +++ b/src/components/emoji_picker/emoji_picker.js @@ -308,9 +308,10 @@ const EmojiPicker = { itemPerRow () { console.log( this.emojiWidth, + this.emojiSize, this.width ) - return this.width ? Math.floor(this.width / this.emojiWidth) : 6 + return this.width ? Math.floor(this.width / this.emojiSize) : 6 }, activeGroupView () { return this.showingStickers ? '' : this.activeGroup