Skip to content

Fix scroll-to-annotations#127

Merged
lfoppiano merged 2 commits into
mainfrom
bugfix/fix-scroll-to-annotation
Apr 24, 2026
Merged

Fix scroll-to-annotations#127
lfoppiano merged 2 commits into
mainfrom
bugfix/fix-scroll-to-annotation

Conversation

@lfoppiano

Copy link
Copy Markdown
Collaborator

This should fix #125

@lfoppiano lfoppiano requested a review from Sanakhamassi April 23, 2026 14:59
@Sanakhamassi

Copy link
Copy Markdown

It's working, It scrolls to the first annotation even if the list is not ordered by page. For example, if the first annotation is on page 5 and the second is on page 3, the component now sorts them by page number and scrolls to the first annotation that appears in logical page order.

@Sanakhamassi Sanakhamassi left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

It's working it scrolls to the first annotation even if the list is not ordered by page. For example, if the first annotation is on page 5 and the second is on page 3, the component now sorts them by page number and scrolls to the first annotation that appears in logical page order.

@lfoppiano lfoppiano merged commit b548350 into main Apr 24, 2026
9 checks passed
@lfoppiano lfoppiano deleted the bugfix/fix-scroll-to-annotation branch April 24, 2026 14:47
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.

scroll_to_annotation seems to not work anymore

2 participants