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

Shift keyboard button isn't working #835

Open
svipas opened this issue Dec 7, 2024 · 9 comments
Open

Shift keyboard button isn't working #835

svipas opened this issue Dec 7, 2024 · 9 comments
Assignees
Labels
bug Something isn't working

Comments

@svipas
Copy link

svipas commented Dec 7, 2024

Description
If I type into input fields using Shift it isn't working, instead of U it returns u, same goes for symbols like !, etc. I have to use keyboard from the simulator.

Environment

  • Version of currently used Radon IDE: 1.0.0
  • Version of React Native/Expo used in the project: 51 (Expo) and 0.74 (RN)
@svipas svipas added the bug Something isn't working label Dec 7, 2024
@svipas
Copy link
Author

svipas commented Dec 7, 2024

Seems like after reloading VS Code it started to work again, not sure what the issue was.

EDIT: Happened again, I did get some errors while working and debugger was paused, maybe it is the cause? Needs more investigation...

@jacobffl
Copy link

I figured out that fn + shift works as expected.
This is a nice workaround, but it is still a clunky experience while typing.

@maciekstosio maciekstosio self-assigned this Dec 19, 2024
@ovidiu-deliu
Copy link

In my case neither VSCode restart or fn + shift don't solve the issue. It's a bit clunky as neither CMD + V doesn't work for pasting data from an outer context respective to the device, so I have to paste manually (iOS hold click and wait for the pop-up options)

@maciekstosio
Copy link
Contributor

Hi, thanks for the feedback. We're investing in the problem, but it is a bit tricky as it's related to communication with the iOS simulator, which is not documented. You can paste something from the clipboard using long press and paste, but it's not always reliable.

@ovidiu-deliu
Copy link

In my case for an iPhone 15 Pro simulator - the shift key simply started recognized all of a sudden. The CMD + V command still doesn't work but at least I can use shift for text-inputs to input uppercased letters and symbols.

If needed I can provide any requested data/config for debugging

@maciekstosio
Copy link
Contributor

@ovidiu-deliu Yeah, it stops working randomly, probably, it depends on changing input preferences during the keyboard transition on the simulator.

If needed I can provide any requested data/config for debugging

Thanks, events are sent to the simserver properly, so for now, It's not necessary. I can reproduce the problem reliably, but I haven't found a proper solution yet. We're working on it.

The CMD + V command still doesn't work

This won't work. When you're copying CMD + C, we copy the selected content to the device clipboard. You should be able to long-press the input and select paste on the device. It works, although when I tested it, it wasn't always reliable.

@ovidiu-deliu
Copy link

To add more feedback to the issue - It seems that Caps Lock could fix the issue, but it is behaving interestingly.

In my case (as you mentioned @maciekstosio) the keyboard randomly transitions between two states:

  • it works normally (shift works as expected)
  • shift doesn't work + Caps Lock behaves differently

The CapsLock behavior goes as following:
-> typing lower case
-> press Caps Lock -> weird state where most of the letters do not input and it seems like there's a command state, because pressing H minimizes the app (tried other letters, they do not seem to do anything - only inputs letters "RTYOPSDJKLNM", the others are ignored)
-> press again Caps Lock -> typing upper case
-> press again Caps Lock -> weird state

Also - I can somehow transition between the "with-shift" and "without-shift" states also seemingly randomly

@maciekstosio
Copy link
Contributor

maciekstosio commented Feb 26, 2025

@ovidiu-deliu Caps Lock behaves weirdly because, in contrary to other buttons, clicking Caps-Lock (down and up) sends just one event. So despite it beeing pressed and released, keyboard treats it as it is hold for the entrie time, and thus can go out of sync when pressing with different focus. That supposed to be fiexed in #986, but unfortunetly it's separate problem.

@jarredwitt
Copy link

jarredwitt commented Mar 7, 2025

Currently dealing with the shift key not working in the iOS sim.

IDE Version: 1.3.1
iPhone 15 Pro sim

The shift key works just fine in Android although the numpad does not (may be a separate issue). On iOS the numpad works great, but the shift key is not working. It's making it incredibly frustrating to test out auth flows that require emails as I can't type shift+2 to get the @ symbol on iOS.

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

5 participants