Skip to content

🐛 [Bug report]: Navbar hide/show behavior inconsistent after hero section #1665

@harishsehlangia

Description

@harishsehlangia

Contributor Guidelines

  • I have read the guidelines and discussion

Descrcibe the bug?

The header/navbar visibility logic works correctly while the page is inside the hero (top banner) section.

However, after scrolling past the hero section, the navbar does not consistently reappear when scrolling up.

The expected behavior is:

  • Navbar should always remain visible while inside the hero section.
  • After crossing the hero section, it should hide on scroll down and show again on scroll up.

Currently, once we move further down the page, the show-on-scroll-up behavior sometimes fails.

Steps to reproduce the bug?

  1. Open the homepage.
  2. Scroll down past the hero/banner section.
  3. Continue scrolling down so the navbar hides.
  4. Now scroll up.

Notice that the navbar does not always reappear as expected.

Expected behavior

After leaving the hero section:

  • Scroll DOWN → navbar hides.
  • Scroll UP → navbar becomes visible again.

Desktop (Please provide your system information)

OS: Windows 11
Browser: Chrome
Version: Latest

Mobile (Please provide your device information)

No response

Screenshot / Screenshare

No response

Relevant log output

No response

Record

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Labels

bugSomething isn't working💻 aspect: codeConcerns the software code in the repository🛠 goal: fixBug fix

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions