Fix Expanded Home Rows focus and visibility with mouse scroll#570
Merged
RadicalMuffinMan merged 1 commit intoJun 18, 2026
Merged
Conversation
- Bypass row auto-focus on startup on Desktop/Web so focus begins off-screen and no tiles expand. - Shift focus to globalShortcutFocusNode when mouse wheel scroll starts, hiding any visible focus rings instantly. - Track active row top offset for both Classic and Modern rows inside scroll listener. - Listen to hardware keyboard keys globally on home screen to restore focus to active row when key is pressed.
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.
Pull Request
Summary
This PR addresses focus management and tile expansion issues on Desktop and Web platforms when scrolling the Home Screen using a mouse wheel. Previously, mouse wheel scrolling could leave focus indicators on tiles that moved off-screen, or keep home row tiles expanded and cut off. This is resolved by bypassing auto-focus on desktop start-up, hiding focus rings during mouse wheel scroll by shifting focus to the global shortcut handler, tracking the active row top offsets dynamically, and restoring focus to the correct row when keyboard activity is detected.
Related Issues
Link related issues or tickets separated by commas.
Type of Change
Changes Made
MouseRegionto automatically track mouse hover and update the row's focused memory index dynamically.Platform
Testing
Describe how this change was tested.
Test Steps
Screenshots (if applicable)
Include screenshots or recordings for UI changes.
Checklist