Repository navigation
fix: give the focus back to the row that opened a picker - #196
Merged
Merged
Conversation
Closing a picker (a value picked or B) sent the focus to the page's default spot: the category on System, the first screen on Session. The row that opened it is remembered when it opens and gets the focus back; if a choice rebuilt the page under it, the old fallbacks still apply. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
There was a problem hiding this comment.
✅ No new issues found.
Reviewed changes: Reviewed the picker-opener focus capture/restoration and its fallback behavior, along with the accompanying release notes and manual test checklist.
- Picker focus restoration:
ConsoleHomeViewremembers the focused control when opening a picker and restores it on close when the control is still eligible, otherwise using existing focus fallbacks. - Documentation: Added matching Portuguese and English changelog entries and manual checks for controller and mouse interaction.
gpt-6-luna | 𝕏
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

What
The owner found that after picking an option in a list on the console interface (the resolution, say), the focus jumped back to the start of the page instead of staying on the row. Closing the picker went through
FocusDefault(): on System that is the category in the rail, on Session the first screen card, so with a pad you had to walk down to the next setting again.BackToPickerOpener), as long as it is still on screen and enabled.Verified on this PC (debug build, keyboard, owner's installed app closed)
dotnet test: 675 passing.🤖 Generated with Claude Code