Skip to content

#1606 - Search result list jumps back to top - #6213

Merged
reckart merged 1 commit into
release/41.xfrom
bugfix/1606-Search-result-list-jumps-back-to-top
Aug 10, 2026
Merged

#1606 - Search result list jumps back to top#6213
reckart merged 1 commit into
release/41.xfrom
bugfix/1606-Search-result-list-jumps-back-to-top

Conversation

@reckart

@reckart reckart commented Aug 10, 2026

Copy link
Copy Markdown
Member

What's in the PR

  • Add PreserveScrollBehavior to preserve scroll positions of marked elements across Wicket AJAX component replacements
  • Add PreserveScrollJavaScriptReference and PreserveScrollBehavior.js implementing snapshot/restore keyed by markup id
  • Register the scroll-preservation behavior globally on ApplicationPageBase so any page can opt elements in via the preserve-scroll marker class
  • Mark the search sidebar results table as scroll-preserving

How to test manually

  • See issue description

Automatic testing

  • PR includes unit tests

Documentation

  • PR updates documentation

- Add PreserveScrollBehavior to preserve scroll positions of marked elements across Wicket AJAX component replacements
- Add PreserveScrollJavaScriptReference and PreserveScrollBehavior.js implementing snapshot/restore keyed by markup id
- Register the scroll-preservation behavior globally on ApplicationPageBase so any page can opt elements in via the preserve-scroll marker class
- Mark the search sidebar results table as scroll-preserving
@reckart reckart added this to the 41.4 milestone Aug 10, 2026
@reckart reckart self-assigned this Aug 10, 2026
@reckart reckart added the 🐛 Bug Something isn't working label Aug 10, 2026
@reckart reckart added this to Kanban Aug 10, 2026
@github-project-automation github-project-automation Bot moved this to 🔖 To do in Kanban Aug 10, 2026
@reckart
reckart merged commit daceafd into release/41.x Aug 10, 2026
4 checks passed
@reckart
reckart deleted the bugfix/1606-Search-result-list-jumps-back-to-top branch August 10, 2026 06:33
@github-project-automation github-project-automation Bot moved this from 🔖 To do to 🍹 Done in Kanban Aug 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🐛 Bug Something isn't working Module: Project Search

Projects

Status: 🍹 Done

Development

Successfully merging this pull request may close these issues.

1 participant