Skip to content

Comments

Fix: Make navbar sticky to improve navigation accessibility#1598

Open
Eshita-Badhe wants to merge 2 commits intoomroy07:mainfrom
Eshita-Badhe:fix/navbar-fixed-on-scroll
Open

Fix: Make navbar sticky to improve navigation accessibility#1598
Eshita-Badhe wants to merge 2 commits intoomroy07:mainfrom
Eshita-Badhe:fix/navbar-fixed-on-scroll

Conversation

@Eshita-Badhe
Copy link
Contributor

Which issue does this PR close?

Rationale for this change

Navbar scrolls out of view when user scrolls down the page, reducing navigation accessibility.

What changes are included in this PR?

  • Updated navbar position to sticky/fixed
  • Added top: 0 and proper z-index
  • Ensured layout does not shift

Are these changes tested?

Yes.

Are there any user-facing changes?

Yes.

  • Navbar remains visible while scrolling
  • Improved usability
  • Better navigation experience

Screenshot

image image

Note: I have worked on this under SWoC26...!
@omroy07 please review...

@vercel
Copy link

vercel bot commented Feb 20, 2026

@Eshita-Badhe is attempting to deploy a commit to the Om Roy's projects Team on Vercel.

A member of the Team first needs to authorize it.

@github-actions
Copy link

Thanks for creating a PR for your Issue! ☺️

We'll review it as soon as possible.
In the meantime, please double-check the file changes and ensure that all commits are accurate.

If there are any unresolved review comments, feel free to resolve them. 🙌🏼

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Enhancement: Make Navbar Sticky for Better Accessibility on Scroll

1 participant