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
Add support for arrow keys in editor on the iPad #2186
Comments
|
Finally I can justify owning an iPad Pro. |
|
This fix would be wonderful. It’s not clear to me, though, where to add the js code to RStudio Server. Some help in that direction would be much appreciated. |
|
I’m working on it now. :-) |
|
Fantastic! I really appreciate it. Like you, I’m looking forward to justifying owning an iPad Pro! |
|
Has this problem been resolved yet? |
|
You can give it a trial run in the preview release. |
|
I've been running preview releases for over a month and the problem seems to have been resolved. |
System details
Steps to reproduce the problem
Describe the problem in detail
Nothing happens.
Describe the behavior you expected
The arrow keys should work on the iPad. The reason they don't is that -- for some reason -- Safari does not send arrow keycodes on iOS.
There is a fix for this in newer versions of Ace, which @gtritchie discovered while researching the issue in xterm.js:
https://github.com/ajaxorg/ace/blob/eb2437badf4013893e15cb873057607c09cc95ae/lib/ace/keyboard/textinput_ios.js#L483-L526
We probably don't have the resources to pick up an entirely new Ace in this release, but the code above might be relatively easily inserted into our existing Ace installation to add support for arrow keys.
The text was updated successfully, but these errors were encountered: