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
Recently, when writing messages, the text input has been acting like crazy, and swtiching between caps and non-caps characters at totally random times when writing.
Edit: Found the source: iOS automatically caps the next character after an ., ? etc. But if the last sign of your message is . or ?, and you jump back and tries to edit already written text, it gets confused in some way.
Steps to Reproduce / Code Snippets
Edit:
Any iOS-device and RNGC (tested on v0.3.0 and v0.4.3)
Use the same example as in the readme.
Write Hi followed by two spaces so that iOS automatically fills inn Hi. and sets caps for the next letter.
Instead of writing more, move the cursor to be between the H and the i and try to write something. Now the caps is confused and vil automatically be on, and if you try to turn it off it just turns on again for the next letter.
FYI, that issue was possibly fixed with RN 0.56 but the CAPS behavior is still randomly re-occuring for some of my users for the chat app I have built using Gifted Chat. It's less frequent, but perhaps triggered by another sequence of actions. Anybody else still seeing it?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Issue Description
Recently, when writing messages, the text input has been acting like crazy, and swtiching between caps and non-caps characters at totally random times when writing.
Edit: Found the source: iOS automatically caps the next character after an
.
,?
etc. But if the last sign of your message is.
or?
, and you jump back and tries to edit already written text, it gets confused in some way.Steps to Reproduce / Code Snippets
Edit:
Hi
followed by two spaces so that iOS automatically fills innHi.
and sets caps for the next letter.H
and thei
and try to write something. Now the caps is confused and vil automatically be on, and if you try to turn it off it just turns on again for the next letter.I made an expo snack: https://snack.expo.io/SJ4SnU6CG. Remember to switch to the iOS simulator in the lower right corner.
Expected Results
Caps lock randomly turns on and off while writing, but shouldn't.
Additional Information
This was my setup, but also tested on RNGC v0.4.3 with same problem. This is not a problem with the regular react-native textinput.
The text was updated successfully, but these errors were encountered: