github / github/app

Text input loses focus after user prompt

Open
#3,204 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
2.1k
Forks
153
PR merge metrics
No merged PRs in 30d

Description

Small UI improvement: I have to take my hands off of the keyboard to re-click the focus on the text input bar in the following scenario.

1. Focus is on the text input.
2. Enter a message that will produce a user prompt ("Ask me the next question in this list") and hit enter to send the message
3. The session retains focus on the text input so you can choose an answer to the user prompt using the keyboard and press Enter to select.
4. When the user prompt decision is made and you switch back to "normal" (the turn ends?) the focus is no longer on the keyboard

Expected:
I should be able to keep my hands on the keyboard through user prompts and other prompts. If focus was on the text input during the user prompt, it should remain on the text input without having to click back in to continue.

At 0:04, I would assume that as soon as I press enter to select option A the focus would return:

https://github.com/user-attachments/assets/8dad1754-4f2a-4d85-9bf2-9acf28cc76b6

---
| Field | Value |
| --- | --- |
| App version | 1.1.13 |
| OS | macOS 26.6.2 |
| Theme | Rainglow Lavender |
| Path | /chat |
| Tenure | Week 4 |

Contributor guide

Open the contributing guide

Research direction

Reproduce the issue in the /chat path using the described user-prompt flow on macOS, starting from the text input and prompt-selection interaction. Done means focus remains on the text input after selecting an option and returning to normal conversation, without requiring a mouse click.

Written by the indexing model from the issue text.

Assessment

Domain
desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.