Skin tone button does not work (React) #902
Unanswered
shakedhagag
asked this question in
Q&A
Replies: 2 comments
-
same here any fix? |
Beta Was this translation helpful? Give feedback.
0 replies
-
The issue arises from a nested shadow root. The solution involves adding event.stopPropagation() to the ref. For example:
This modification ensures that the click event does not propagate further, thereby maintaining focus in the editor and preventing unintended behavior with the emoji skin tone picker. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi guys,
I think I'm missing something here but I have an issue where clicking the skin tone button does nothing.
I checked my DOM and compared it to this Demo and noticed that in my
section
tag thedata-menu
is not added when clicking on the skin tone button.I'm suspecting it has something to do with the way I use ref.
[p.s - using the latest version]
This is my implementation, I wrap the Picker with my own component and I pass data as a props:
Any ideas? 🙏
Beta Was this translation helpful? Give feedback.
All reactions