[PR #11] [MERGED] Fix issue where accepting/rejecting cookies resets your scroll position #61

Closed
opened 2025-09-09 19:41:54 -05:00 by Octech6711 · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/audacity/audacity.github.io/pull/11
Author: @cjdenio
Created: 10/11/2023
Status: Merged
Merged: 10/15/2023
Merged by: @DilsonsPickles

Base: mainHead: cookie-banner-scroll-to-top


📝 Commits (1)

  • d72db85 Fix issue where accepting/rejecting cookies resets your scroll position

📊 Changes

1 file changed (+4 additions, -0 deletions)

View changed files

📝 src/assets/js/cookieConsent.js (+4 -0)

📄 Description

Currently, clicking Accept or Reject scrolls you back to the top of the page.

https://github.com/audacity/audacity.github.io/assets/34525547/25fe91f2-900f-48d8-a6cd-a4a578a8b27f


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/audacity/audacity.github.io/pull/11 **Author:** [@cjdenio](https://github.com/cjdenio) **Created:** 10/11/2023 **Status:** ✅ Merged **Merged:** 10/15/2023 **Merged by:** [@DilsonsPickles](https://github.com/DilsonsPickles) **Base:** `main` ← **Head:** `cookie-banner-scroll-to-top` --- ### 📝 Commits (1) - [`d72db85`](https://github.com/audacity/audacity.github.io/commit/d72db85bdc4002921438ddb8853e20125bc0bf2b) Fix issue where accepting/rejecting cookies resets your scroll position ### 📊 Changes **1 file changed** (+4 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `src/assets/js/cookieConsent.js` (+4 -0) </details> ### 📄 Description Currently, clicking Accept or Reject scrolls you back to the top of the page. https://github.com/audacity/audacity.github.io/assets/34525547/25fe91f2-900f-48d8-a6cd-a4a578a8b27f --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Octech6711 added the pull-request label 2025-09-09 19:41:54 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: audacity/audacity.github.io#61