-
Notifications
You must be signed in to change notification settings - Fork 70
Open
Labels
Description
Title
Scroll to Top button not working on Cookie Policy page
Description
The Scroll to Top button is not functioning properly on the Cookie Policy page. Since the page contains long content, users need an easy way to quickly return to the top, but the button either does not appear or does not work when clicked.
Steps to Reproduce
- Open the Cookie Policy page.
- Scroll down through the content.
- Look for the Scroll to Top button.
- Click the button (if visible).
Expected Behavior
- The Scroll to Top button should appear after the user scrolls down.
- Clicking the button should smoothly scroll the page back to the top.
Actual Behavior
- The button does not appear, or
- It appears but does not scroll the page to the top.
Suggested Fix
- Add a scroll event listener to detect when the user scrolls past a certain point.
- Toggle the visibility of the Scroll to Top button.
- Use
window.scrollTo({ top: 0, behavior: "smooth" })to implement smooth scrolling.
Page
Cookie Policy page
Environment
- Browser: All major browsers
- Device: Desktop and Mobile
Additional Context
This feature would improve usability for long policy pages such as the Cookie Policy where users may need to navigate back to the top quickly.
Reactions are currently unavailable