rn-emoji-keyboard icon indicating copy to clipboard operation
rn-emoji-keyboard copied to clipboard

Not givning latest value of input after state change inside onEmojiSelected method

Open thienvu23 opened this issue 10 months ago • 1 comments

Describe the bug

  • How to the SingleEmoji.onPress refresh if the propsAreEqual function only checks the isSelected flag is changed?
  • the onEmojiSelected is used in the handleEmojiPress that is passed to the SingleEmoji.onPress. So the onEmojiSelected is not refreshed?

To Reproduce Steps to reproduce the behavior: Using the onEmojiSelected function, and using a parent state.

Expected behavior A clear and concise description of what you expected to happen.

Screenshots image image

thienvu23 avatar Apr 23 '24 12:04 thienvu23

Hi @thienvu23, Thanks for using rn-emoji-keyboard and reporting the issue. We will look into it.

DominikDanielewicz avatar Apr 24 '24 10:04 DominikDanielewicz