iOS 13 - Bluetooth keyboard arrow keys not working
See original GitHub issueBug Report
Problem
The arrow keys (UP, DOWN, LEFT, RIGHT) of the external bluetooth keyboard do not work in iOS 13. It was working fine in earlier versions. Other keys are working fine.
Note that, the arrow keys work fine in other iOS native apps. Also, the issue exists only with the UIWebView. The WKWebView works fine.
What is expected to happen?
The Arrow keys of the external keyboard should work fine.
What does actually happen?
The Arrow keys of the external keyboard are not working.
Information
I see the following console error in Xcode when I press one of the arrow keys.
2019-09-17 16:06:08.114428-0500 My_APP_NAME[375:30929] -[UIThreadSafeNode canPerformAction:withSender:]: unrecognized selector sent to instance 0x283523040
2019-09-17 16:06:08.115002-0500 My_APP_NAME[375:30929] *** WebKit discarded an uncaught exception in the handleKeyTextCommandForCurrentEvent delegate: <NSInvalidArgumentException> -[UIThreadSafeNode canPerformAction:withSender:]: unrecognized selector sent to instance 0x283523040
Environment, Platform, Device
Cordova : 9.0.0
Xcode : 11.0
iPad : iOS 13.1
NodeJS : v10.14.2
npm : 6.4.1
OS : macOS Mojave
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Arrow keys suddenly stop working ! - Apple Community
Arrow keys suddenly stop working ! ; 1. Restart your iPad ; 2. Update your iPhone, iPad, or iPod touch ; 3. Quit...
Read more >iPadOS 14 external keyboard arrow keys issues - Ask Different
It's awesome, but I have one issue. When I use the arrow keys, it doesn't let me navigate text with the arrow keys....
Read more >iPad Pro 11 inch 2018 w/ Magic Keyboard. Issues with left and ...
Issues with left and right arrow keys not working in YouTube app (specifically using left and right arrow keys to fast forward or...
Read more >Arrow keys not working on iPad Pro Magic Keyboard
However the arrow keys do not work. All the other shortcuts are functioning well, including the CMD+arrow key combinations. It's just the pure...
Read more >My iPad Pro keyboard's arrow keys stopped working
We would like to inform you that due to some iOS related issues, the app doesn't respond when you are connected with a...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
The default webview for
cordova-ios
is theUIWebView
.WKWebView
will be the new default sometime soon sinceUIWebView
is deprecated.I appear to also be having this issue with WKWebView on ipados 13.2.3. Confirmed that it was WKWebView using the “debug view hierarchy” tool in xcode.
Did anyone file a report about this with Apple?
EDIT: this is with a document level event listener, with no input elements. I have discovered that by adding a
<input type="button>
and having the user click it will cause events to trigger at a global level again. However, manually focusing the element using.focus()
is not sufficient.