[Bug]: iPad composer loses focus after sending with Enter on a hardware keyboard

Aperta
#34,394 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@juliusmarminge ci sta già lavorando.

Dal 11/11/2026.

  • #34484 di @juliusmarminge — aperta

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
68/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
react-native, typescript
Ambito
mobile

Direzione di ricerca

Start in the apps/mobile composer and trace the Enter-to-send path, using issue #5439 and the related autofocus issues #29469 and #29496 for context. Reproduce on an iPad with a hardware keyboard, then inspect how focus changes after sending. Done means the composer retains focus so the next message can be typed without tapping it again.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Before submitting
  • I searched existing issues and did not find a duplicate.
  • I included enough detail to reproduce or investigate the problem.
Area

apps/mobile

Steps to reproduce
  1. Open the T3 Code app on an iPad with a hardware keyboard attached.
  2. Open any thread and type a message in the composer.
  3. Press Enter to send it.
  4. Keep typing the next message without touching the screen.
Expected behavior

The composer keeps focus after sending, so you can type the next message right away, the same as the desktop app.

Actual behavior

The message sends, but focus leaves the composer. The keystrokes typed after Enter go nowhere. You have to tap the composer again before typing works.

Impact

Minor bug or occasional failure

Version or commit

Latest App Store version of the iPad app as of 2026-11-11.

Environment

iPad with an external hardware keyboard, native T3 Code iPad app.

Logs or stack traces

Screenshots, recordings, or supporting files

No response

Workaround

Tap the composer again after each send.

Related
  • #5439 made Enter send on iPad with a hardware keyboard. The focus loss may come from that send path.
  • #29469 / #29496 are about composer autofocus on iPad, which touches the same focus logic.
Lingua principale
TypeScript
Stelle
24.8k
Fork
6.4k
Merge medio
10h 56m
PR unite (30g)
226

Preparare l'ambiente

Apri in Codespaces

Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di pingdotgg/t3code

Tutte le issue di pingdotgg/t3code

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.