TheWidlarzGroup / rn-emoji-keyboard

Super performant, lightweight, fully customizable emoji picker 🚀
https://thewidlarzgroup.github.io/rn-emoji-keyboard/
MIT License
330 stars 61 forks source link

Slow response on mobile when picking selected emoji. #51

Closed pinchez254 closed 1 year ago

pinchez254 commented 2 years ago

Describe the bug The following warning is displayed. VirtualizedList: You have a large list that is slow to update - make sure your renderItem function renders components that follow React performance best practices like PureComponent, shouldComponentUpdate, etc. {"contentLength": 4525.71435546875, "dt": 2628, "prevDt": 2827}

To Reproduce Steps to reproduce the behavior:

  1. Go to onEmojiSelected prop
  2. add a callback onEmojiSelected={emoji => { console.log(emoji); }}
  3. click emoji more than one time
jakex7 commented 1 year ago

Hi @pinchez254 , We couldn't reproduce this issue and it's related to the old version of rn-emoji-keyboard. I'm closing this for now, but feel free to reopen if the problem persists 🙂