You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I encountered an issue while using the EmojiPicker component:
When the props onEmojiClick of the EmojiPicker component are changed, the EmojiPicker does not update and caches the old onEmojiClick method.
I am expecting the EmojiPicker to use the new onEmojiClick function when the props onEmojiClick are changed.
The text was updated successfully, but these errors were encountered:
I'm encountering a similar issue while using v4.9.2, and I believe it behaves quite the same as the issue #365, the onEmojiClick function cannot access latest component state even I wrap my click handler with a callback hook
Hello, I encountered an issue while using the EmojiPicker component:
When the props onEmojiClick of the EmojiPicker component are changed, the EmojiPicker does not update and caches the old onEmojiClick method.
I am expecting the EmojiPicker to use the new onEmojiClick function when the props onEmojiClick are changed.
The text was updated successfully, but these errors were encountered: