Before submitting#
Area#
apps/mobile
Steps to reproduce#
- On iOS, open a thread's Browser page and take control.
- Open a site with a login form and tap the username field. The keyboard comes up.
- Copy some text in another app, come back, and try to paste it into the field.
Expected behavior#
The copied text can be pasted into the page field, as in any phone browser.
Actual behavior#
There is no way to paste with touch. A long press shows no Paste callout, and the keyboard has no paste key. Typing reaches the field, so the only option is to type the text out by hand. That rules out pasting a username, a token, or a generated password.
Root cause#
The page is a stream drawn on a canvas, and typing goes through a hidden textarea (preview-stream.browser.ts). Long presses on the canvas are suppressed on purpose (contextmenu gets preventDefault), and the hidden textarea can't be tapped, so iOS never shows its edit menu. A hardware-keyboard Cmd/Ctrl+V does work, because that paste lands in the hidden textarea and is forwarded as text input.
Impact#
Major degradation or frequent failure
Version or commit#
f87dd14da (main)
Environment#
T3 Code mobile on iOS, Browser page backed by the environment's browser.
Workaround#
Type the text by hand, or use a hardware keyboard with Cmd/Ctrl+V.