Skip to content

fix(tv-motion): route TvFocusScrollWrapper through the motion profile - #285

Merged
ghbarker merged 1 commit into
feature/post-refactorfrom
fix/tv-focus-scroll-wrapper-motion-profile
Sep 8, 2026
Merged

ghbarker merged 1 commit into
feature/post-refactorfrom
fix/tv-focus-scroll-wrapper-motion-profile

Conversation

@ghbarker

@ghbarker ghbarker commented Sep 8, 2026

Copy link
Copy Markdown
Owner

Summary

Test plan

  • New regression test (tv_focus_scroll_wrapper_motion_profile_test.dart), confirmed to fail against the pre-fix 200ms literal and pass after
  • Existing tv_focus_scroll_wrapper_origin_test.dart / tv_focus_scroll_wrapper_import_identity_test.dart / tv_motion_profile_scroll_sites_test.dart all still pass
  • flutter analyze clean on changed files

PR #283 fixed the six row-widget scroll-follow sites but missed the
shared TvFocusScrollWrapper — a completely separate mechanism behind
every YouTube/Reddit/Lemmy/IPTV results row, the episode list, and the
cloud/PikPak/Premiumize file browsers. It hardcoded a flat 200ms glide
with no profile branch at all, so on any of those lists the Smooth/
Snappy toggle changed nothing, matching the "does absolutely nothing"
report even after #283 landed.

Snappy keeps its shipped 200ms glide unchanged; smooth now resolves to
AppMotion.tvScroll (260ms), same convention as every other migrated
site. Added a regression test verified to fail against the pre-fix
200ms literal and pass after.
@ghbarker
ghbarker merged commit 7713a26 into feature/post-refactor Sep 8, 2026
3 checks passed
@ghbarker
ghbarker deleted the fix/tv-focus-scroll-wrapper-motion-profile branch September 8, 2026 05:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant