forked from mirrors/akkoma-fe
fix picker not filling on opening, removed console log
This commit is contained in:
parent
c000879f2f
commit
1400d723f2
2 changed files with 1 additions and 2 deletions
|
@ -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'
|
||||
|
|
|
@ -93,7 +93,7 @@ const EmojiPicker = {
|
|||
const bufferSize = this.customEmojiBuffer.length
|
||||
const bufferPrefilledSane = bufferSize === LOAD_EMOJI_SANE_AMOUNT && !this.customEmojiLoadAllConfirmed
|
||||
const bufferPrefilledAll = bufferSize === this.filteredEmoji.length
|
||||
if (!forceUpdate || bufferPrefilledSane || bufferPrefilledAll) {
|
||||
if (forceUpdate || bufferPrefilledSane || bufferPrefilledAll) {
|
||||
return
|
||||
}
|
||||
if (this.customEmojiTimeout) {
|
||||
|
|
Loading…
Reference in a new issue