We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 80ca067 commit 3f08dc3Copy full SHA for 3f08dc3
LongevityWorldCup.Website/wwwroot/partials/leaderboard-content.html
@@ -2685,6 +2685,12 @@ <h3>Proofs</h3>
2685
if (sidebar.classList.contains('expanded')) {
2686
sidebarToggle.title = "Hide Leagues";
2687
sidebarToggle.setAttribute('aria-label', 'Hide Sidebar');
2688
+
2689
+ // Scroll to the leaderboard table when closing the sidebar
2690
+ document.querySelector('.search-wrapper .sidebar-toggle').scrollIntoView({
2691
+ behavior: 'smooth',
2692
+ block: 'start',
2693
+ });
2694
} else {
2695
sidebarToggle.title = "Show Leagues";
2696
sidebarToggle.setAttribute('aria-label', 'Show Sidebar');
0 commit comments