fix(ui): delay row snapping on home screen during mouse wheel scroll#545
Merged
RadicalMuffinMan merged 1 commit intoJun 16, 2026
Merged
Conversation
- Add PointerScrollEvent listener to capture mouse wheel scrolls on the Home screen. - Record the timestamp of the last mouse wheel scroll. - Increase the _scrollIdleTimer delay to 1000ms if a mouse wheel scroll was recently detected, allowing users to scroll past rows with the mouse wheel without getting instantly snapped/pulled back.
ffc2729 to
14537a8
Compare
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 delays the snap-to-centered-row logic on the Home screen when a mouse wheel scroll is detected, preventing users from getting snapped/pulled back to the currently focused row while trying to scroll through rows using a mouse.
Related Issues
Link related issues or tickets separated by commas.
Type of Change
Changes Made
List the key changes included in this PR.
PointerScrollEventlistener to theListenerwidget enclosing the Home screen row list._scrollIdleTimerdelay to 1000ms (up from 250ms) if a mouse scroll was recently active, ensuring the centering logic only triggers when mouse wheel input has fully stopped.Platform
Testing
Describe how this change was tested.
Test Steps
Screenshots (if applicable)
Include screenshots or recordings for UI changes.
Checklist