Skip to content

fix: keep root jumps anchored to their last target - #993

Merged
Livinglist merged 1 commit into
masterfrom
codex/remember-root-jump-target
Nov 28, 2026
Merged

Livinglist merged 1 commit into
masterfrom
codex/remember-root-jump-target

Conversation

@Livinglist

Copy link
Copy Markdown
Owner

Jump Up and Jump Down now advance from the last targeted root until the user scrolls manually, preventing roots near the app bar from being skipped or selected again. Track the target by ID so rapid taps and reordered comments work correctly, including when history controls are disabled. Clear the target after unrelated navigation or a thread reload, then use the existing visible-root lookup.

Add eight regression cases covering short roots, consecutive and rapid jumps, manual scrolling with history enabled or disabled, reordered comments, and unrelated navigation. The skipped-root regression fails against the original implementation.

Validation with pinned Flutter 3.50.1 after rebasing onto the latest master:

  • Full Flutter test suite: 334 tests passed.
  • flutter analyze --no-pub lib test integration_test: no issues.
  • dart format --output=none --set-exit-if-changed lib test integration_test: clean (328 files).
  • git diff --check: clean.

@Livinglist
Livinglist merged commit e08b048 into master Nov 28, 2026
3 checks passed
@Livinglist
Livinglist deleted the codex/remember-root-jump-target branch November 28, 2026 00:27
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