Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

tweak: update scroll position when moving items like when navigating #763

Merged
merged 1 commit into from
Nov 3, 2023

Conversation

christoph-heinrich
Copy link
Contributor

@christoph-heinrich christoph-heinrich commented Nov 3, 2023

This keeps the selected item in the middle of the scroll position, just like when navigating.

Otherwise the scrolling behavior is inconsistent between moving and navigating, and leads to odd situations like when moving the first playlist item down it's impossible to see what's above it, which is annoying when overshooting and having to go back up a bit.

Also weirdly the selected item position in the scroll view changed when holding down the up or down button. The item moved faster then the scroll position. No idea why that happened, but with this change that's not a problem anymore.

menu_scroll.mp4

@tomasklaen tomasklaen merged commit 448d408 into tomasklaen:main Nov 3, 2023
@christoph-heinrich christoph-heinrich deleted the menu_move_scroll branch November 3, 2023 14:22
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants