Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
thienvu23 opened this issue Apr 23, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@thienvu23
Copy link

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 thienvu23 added the bug Something isn't working label Apr 23, 2024
@DominikDanielewicz
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants