Skip to content

fix: The chapter popup now opens with the selected item scrolled into view - #397

Merged
van-geaux merged 1 commit into
van-geaux:mainfrom
RobinD42:fix/current-chapter-in-toc
Nov 5, 2026
Merged

van-geaux merged 1 commit into
van-geaux:mainfrom
RobinD42:fix/current-chapter-in-toc

Conversation

@RobinD42

@RobinD42 RobinD42 commented Nov 4, 2026

Copy link
Copy Markdown
Contributor

Pull request

The user may have to scroll a long ways to see the current chapter in the popup chapters list. Although there may be times you want to see the top of the list, I think it's easier to get back to the top than it is to search for the current chapter.

Contributor checklist

  • The change is scoped to the related issue or feature discussion.
  • Tests and manual-validation status are documented.
  • No credentials, cookies, API keys, private server URLs, or generated local data are included.

Summary

The reader’s chapter/page popup now opens with the selected item in view.

Verification

  • .\gradlew.bat :app:testDebugUnitTest --tests com.vangeaux.lagrange.ReaderChromePositionStateTest — passed.

  • .\gradlew.bat :app:lintDebug :app:assembleDebug — passed.

  • git diff --check upstream/main...HEAD — passed.

  • Manually verified on 2 devices

@van-geaux van-geaux left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@RobinD42, this looks good to merge. Thanks for the fix!

@van-geaux
van-geaux merged commit 4e93c9b into van-geaux:main Nov 5, 2026
1 check passed
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