Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Return (Enter) key doesn’t work #5221

Unanswered
ZaharBozhok asked this question in Q&A
Discussion options

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.

  1. Did somebody faced this issue and how it was resolved?
  2. Maybe I can enable logs? If yes, then which and where?
    (Link to the video)
You must be logged in to vote

Replies: 3 comments 10 replies

Comment options

I have had this happen as well. Can you reproduce it on vscode.dev on iPad? Wondering if it's upstream too.

You must be logged in to vote
9 replies
Comment options

I don’t know whether it reproduces in vscode.dev, but it reproduces in github codespaces

Comment options

And I don’t know why, but reloading the page doesn’t help. But helps unplugging and plugging back magic keyboard :)

Comment options

but it reproduces in github codespaces

AHHHH! Nice find!!! Can you file an issue upstream and link it back here?

Comment options

Comment options

Also something weird happens to the Ctrl+` shortcut, it works randomly, no correlation with enter key. Mentioned in the upstream ticket

Comment options

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.

You must be logged in to vote
1 reply
Comment options

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?

Comment options

Tapping in and out of the terminal fixes it for me

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

AltStyle によって変換されたページ (->オリジナル) /