-
Notifications
You must be signed in to change notification settings - Fork 6.3k
Return (Enter) key doesn’t work #5221
-
Env:
- iPad Pro iPadOS 15.5
- code-server 4.4.0 on Ubuntu 20.04
- used in Safari’s PWA
- no https
After some time Enter key doesn’t work in PWA. I connect to code-server using plain IP in VPN network.
I tried to close PWA and start again - enter doesn’t work.
Restarted server - also doesn’t help.
Closing PWA & Safari - doesn’t help.
iPad reboot only helps. Seems like iPad’s issue but enter works everywhere except the PWA.
- Did somebody faced this issue and how it was resolved?
- Maybe I can enable logs? If yes, then which and where?
(Link to the video)
Beta Was this translation helpful? Give feedback.
All reactions
Replies: 3 comments 10 replies
-
I have had this happen as well. Can you reproduce it on vscode.dev on iPad? Wondering if it's upstream too.
Beta Was this translation helpful? Give feedback.
All reactions
-
I don’t know whether it reproduces in vscode.dev, but it reproduces in github codespaces
Beta Was this translation helpful? Give feedback.
All reactions
-
And I don’t know why, but reloading the page doesn’t help. But helps unplugging and plugging back magic keyboard :)
Beta Was this translation helpful? Give feedback.
All reactions
-
👍 1
-
but it reproduces in github codespaces
AHHHH! Nice find!!! Can you file an issue upstream and link it back here?
Beta Was this translation helpful? Give feedback.
All reactions
-
Beta Was this translation helpful? Give feedback.
All reactions
-
👍 1 -
🎉 1
-
Also something weird happens to the Ctrl+` shortcut, it works randomly, no correlation with enter key. Mentioned in the upstream ticket
Beta Was this translation helpful? Give feedback.
All reactions
-
I think I know one of the reasons for this apparent bug.
It happens when you have several files opened in code-server tabs and the Search / Find box had been populated with a search string that was found in one of these tabs, but then we switched to another tab and now the search string can no longer be found, and yet the Search / Find box still has the focus ... for the Enter key alone (any other key, including Ctrl+Enter combination, works normally). A red warning "No results" is displayed each time when we switch to the tab when the problem will occur. In other tabs (without this problem and this warning message), pressing Enter will move selection to consecutive occurrences of the search string.
Beta Was this translation helpful? Give feedback.
All reactions
-
This just happened to me (4.95/1.95), and I had just done a search and replace.
I've tried tapping in and out of terminal, search, editor windows; using an external keyboard doesn't work; I've hit the Escape key; I've logged out and back in; crashed the app on the iPad and re-opened.
It still won't release the focus for the Return and other keys. Other keys like arrows and tab, and possibly Escape, also seem affected.
Is there another way to work around this easily?
Beta Was this translation helpful? Give feedback.
All reactions
-
Tapping in and out of the terminal fixes it for me
Beta Was this translation helpful? Give feedback.