Skip to content

Fix rapid-navigation misclicks and speed up screen transitions - #60

Merged
Marcogn merged 1 commit into
mainfrom
claude/navigation-slow-misclicks-rh6vwq
Aug 21, 2026
Merged

Fix rapid-navigation misclicks and speed up screen transitions#60
Marcogn merged 1 commit into
mainfrom
claude/navigation-slow-misclicks-rh6vwq

Conversation

@Marcogn

@Marcogn Marcogn commented Aug 21, 2026

Copy link
Copy Markdown
Owner

Summary

  • Navigating quickly (e.g. Home → Reviews → back → Backlog done in fast succession) could register the second tap on the screen still fading out underneath instead of the intended destination. Root cause: navigation-compose 2.8.5's default transition is a 700ms crossfade during which both the outgoing and incoming screens stay composed and clickable at the same time.
  • ThePatientGamerHelperNavGraph.kt now declares explicit, faster (300ms) directional slide+fade transitions instead of the default crossfade, addressing the general "navigation feels slow" complaint too.
  • Every navigate()/popBackStack() call is gated on the triggering NavBackStackEntry having reached RESUMED (the officially documented signal that its own transition has fully settled), so a stray tap on a screen still mid-transition is ignored instead of misrouted.
  • Added CHANGELOG.md entry under [Unreleased] and a new REG-15 entry (+ update-history line) in docs/test-plan.md, per this repo's documentation policy.

Test plan

  • Manual on-device verification (per docs/test-plan.md REG-15): repeatedly and quickly chain navigation actions across Home/Library/Backlog/Stats/Settings (drawer and in-screen buttons) and confirm the tap always lands on the intended destination.
  • Confirm transitions read as a normal, snappy Android push/pop instead of the previous slow generic fade.
  • CI build/lint (android-ci.yml) — this sandbox has no Android SDK to build locally; relying on CI per CLAUDE.md.

Generated by Claude Code

navigation-compose 2.8.5's default transition is a 700ms crossfade
during which both the outgoing and incoming screens stay composed and
clickable, so a fast double-tap (e.g. Home -> Reviews -> back ->
Backlog) could land on the screen still fading out underneath instead
of the intended destination. Replace the default crossfade with
explicit 300ms directional slide+fade transitions, and gate every
navigate()/popBackStack() call in ThePatientGamerHelperNavGraph behind
a check that the triggering NavBackStackEntry has reached RESUMED
(its own transition fully settled) before firing.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MRCs4kTRXqukszUoU8XrrW
@Marcogn
Marcogn marked this pull request as ready for review August 21, 2026 07:05
@Marcogn
Marcogn merged commit 173a5b2 into main Aug 21, 2026
1 check passed
@Marcogn
Marcogn deleted the claude/navigation-slow-misclicks-rh6vwq branch August 21, 2026 07:05
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.

2 participants