[TextInput] onKeyPress attribute not showing smileys/emoji's in it's keyValue #22841
Labels
Bug
Component: TextInput
Related to the TextInput component.
Stale
There has been a lack of activity on this issue and it may be closed soon.
Environment
React Native Environment Info:
System:
OS: Windows 10
CPU: (4) x64 Intel(R) Core(TM) i5-6400 CPU @ 2.70GHz
Memory: 1.04 GB / 7.91 GB
Binaries:
Yarn: 1.7.0 - ~\AppData\Roaming\npm\yarn.CMD
npm: 5.6.0 - C:\Program Files\nodejs\npm.CMD
IDEs:
Android Studio: Version 3.1.0.0 AI-173.4819257
Packages:
react: 16.6.3
react-native: 0.57.8
Description
Note: I had already reported this bug 22689 , and it was in a lower version of react native. I updated the version and said the same in 22689, but still it got closed. That is why I'm submitting it again as the bot suggested.
I am trying to get smileys through keyValue of onKeyPress attribute of TextInput.
Expected output: I get the pressed smiley
Actual output: I don't get the pressed smiley at all in most phones. In very few phones, I don't get 97% of smileys (Mi A2) .
Reproducible Demo
If you run this code and try to input smileys through the keyboard in phone, you won't be alerted any of the smileys in most phones, and won't be alerted 97% of smileys in very few phones ( Mi A2 ) .
The text was updated successfully, but these errors were encountered: