From 71684a6a54c5697e7d076f8238781f00f69a61de Mon Sep 17 00:00:00 2001 From: ComplexSimply Date: Thu, 23 Jul 2026 17:30:47 +0800 Subject: [PATCH 1/4] fix(web-shell): render a plain textarea composer on touch devices MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Mobile browsers could not type into the Web Shell composer (#5958): CodeMirror's contenteditable interacts poorly with virtual keyboards, and three non-gesture view.focus() calls claim activeElement on iOS without opening the keyboard, after which taps may never refocus the editor. On touch devices ('(hover: none) and (pointer: coarse)' plus maxTouchPoints > 0 — touch laptops keep the desktop editor) useComposerCore now skips creating an EditorView entirely and exposes a mobileComposer backend that ChatEditor renders as a controlled