Bug: Mobile browsers lack touch mode — virtual keyboard never opens and text copying fails
Bug Description
When opening code-server in a mobile browser (iOS / Android), the code editor is completely unusable on smartphones:
- Virtual Keyboard Never Opens: Tapping anywhere inside the code editor area fails to trigger the soft/on-screen keyboard.
- Text Copying Impossible: Touch selection gestures (double-tap / long-press) do not work inside the editor, making text selection and copying impossible.
- No Mobile Mode: The editor lacks mobile UI and touch layout adaptation entirely.
Expected Behavior
code-server should have proper mobile browser support with touch selection, virtual keyboard activation on tap, and mobile copy/paste capabilities.
«Linear CLI is a command-line tool for managing tasks and projects in the Linear system, not an integrated development environment (IDE). It is not designed for writing or editing code.
If you need a full-featured IDE for Termux, Linear CLI is not suitable. For development in Termux, it is better to use tools such as:
Code-server — allows running VS Code through a browser on Termux.»
This is an issue with core VS Code unfortunately (we just wrap VS Code here). In theory we could try to maintain patches for mobile browsers here, but it would be much better to submit them upstream.
There are a number of mobile-related issues, I have seen a variety of keyboard and copy/paste ones but not sure I have seen one for a mobile mode: https://github.com/microsoft/vscode/issues?q=is%3Aissue%20state%3Aopen%20mobile