Cannot release focus when scrolling #23375

Open
opened 2026-01-31 08:40:29 +00:00 by claunia · 0 comments
Owner

Originally created by @zakarum on GitHub (Jun 21, 2025).

Windows Terminal version

1.23.11132.0

Windows build number

10.0.26100.4351

Other Software

No response

Steps to reproduce

In Settings:

  1. Navigate to any section cannot show fully in a window. e.g, Profiles -> Defaults -> Addtional Settings -> Appearance.
  2. Make sure the focus is on terminal app window
  3. Use mouse scroller or the scroll bar, try scroll down

In any command line:

  1. Enable the settings: Profiles -> Defaults or any specific profile for following testing -> Additional settings -> Advanced -> Scroll to input when typing
  2. Executed a command which can populate long output over a window. e.g., Get-ChildItem in a path with many sub-items
  3. Make sure the focus is on terminal app window
  4. Use mouse scroller or the scroll bar, try to scroll up to check the output out of the window area.

Expected Behavior

Should be able to scroll to the position you want. In a command line, if you don't type, it should not scroll to the shell prompt.

Actual Behavior

Seems focus will be sticky to the first focusable element (in settings UI) or the last shell prompt (in command line when Scroll to input when typing is enabled), which prevent you scrolling down or up.
Also, the mouse will flash, like it's kept being captured to the incorrect focus element.

https://github.com/user-attachments/assets/27c12d09-56fc-41c7-a7d0-6d25a784b410

https://github.com/user-attachments/assets/79b6e787-4895-4dec-98f6-2c7816fdecc1

Originally created by @zakarum on GitHub (Jun 21, 2025). ### Windows Terminal version 1.23.11132.0 ### Windows build number 10.0.26100.4351 ### Other Software _No response_ ### Steps to reproduce In Settings: 1. Navigate to any section cannot show fully in a window. e.g, Profiles -> Defaults -> Addtional Settings -> Appearance. 2. Make sure the focus is on terminal app window 3. Use mouse scroller or the scroll bar, try scroll down In any command line: 1. Enable the settings: Profiles -> Defaults or any specific profile for following testing -> Additional settings -> Advanced -> Scroll to input when typing 2. Executed a command which can populate long output over a window. e.g., `Get-ChildItem` in a path with many sub-items 3. Make sure the focus is on terminal app window 4. Use mouse scroller or the scroll bar, try to scroll up to check the output out of the window area. ### Expected Behavior Should be able to scroll to the position you want. In a command line, if you don't type, it should not scroll to the shell prompt. ### Actual Behavior Seems focus will be sticky to the first focusable element (in settings UI) or the last shell prompt (in command line when **Scroll to input when typing** is enabled), which prevent you scrolling down or up. Also, the mouse will flash, like it's kept being captured to the incorrect focus element. https://github.com/user-attachments/assets/27c12d09-56fc-41c7-a7d0-6d25a784b410 https://github.com/user-attachments/assets/79b6e787-4895-4dec-98f6-2c7816fdecc1
claunia added the Needs-TriageIssue-BugNeeds-Author-FeedbackNo-Recent-Activity labels 2026-01-31 08:40:30 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#23375