-
Notifications
You must be signed in to change notification settings - Fork 23
Description
Problem
When clicking the website name/logo from other pages, it correctly navigates to the homepage. However, when already on the homepage, clicking the website name/logo does nothing — it does not scroll back to the top.
This is inconsistent with common web navigation practices and creates a confusing experience, especially on long homepages where users expect the logo to reset their view to the start.
Expected Behavior
If the user is on another page → clicking the name/logo should load the homepage (current behavior).
If the user is already on the homepage → clicking the name/logo should scroll the page back to the top.
Steps to Reproduce
Navigate to the homepage.
Scroll down.
Click the website name/logo in the header.
Observe that nothing happens — the page stays scrolled down.
Suggested Solution
Add logic so that if the user is on the homepage, clicking the website name/logo smoothly scrolls to the top.
Impact
Improves navigation consistency.
Aligns with widely expected web convention (logo/name = “go home / scroll to top”).