Skip to content

Conversation

jrauh01
Copy link
Contributor

@jrauh01 jrauh01 commented Sep 8, 2025

The button links to a span with the id #page-1 at the top of the list. Additionally every 'Load More' click the button's href gets updated to keep the already opened pages open when scrolling to top via the button.

Resolve #760

@jrauh01 jrauh01 self-assigned this Sep 8, 2025
@cla-bot cla-bot bot added the cla/signed CLA is signed by all contributors of a PR label Sep 8, 2025
@jrauh01 jrauh01 force-pushed the feature/scroll-to-top-button branch from e9951a6 to 385be49 Compare September 15, 2025 11:28
@jrauh01 jrauh01 requested a review from flourish86 September 15, 2025 11:31
Adjust `#page-1` positioning so it sits in the parent’s top padding,
preventing jump flicker when scrolling to it from the top of the
list.
@jrauh01 jrauh01 marked this pull request as draft September 16, 2025 08:03
@jrauh01
Copy link
Contributor Author

jrauh01 commented Sep 16, 2025

As discussed with @flourish86 and @lippserd I marked this PR as draft. Before continuing here, we agreed to consider making the Home/Pos1 and End keys work properly instead of adding a scroll-to-top button. That would make the button unnecessary. Regarding container focus, we could handle it the same way as with the item list arrow key navigation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla/signed CLA is signed by all contributors of a PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add a scroll to top button for History list

1 participant