-
-
Notifications
You must be signed in to change notification settings - Fork 276
[fix] : Adjusted the Menu DropDown the Navigation Top Bar #1712
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
[fix] : Adjusted the Menu DropDown the Navigation Top Bar #1712
Conversation
Hi @Yashwanth1906! Thanks a lot for your contribution! I noticed that the following required information is missing or incomplete: kind of change description Please update the PR description to include this information. You can find placeholders in the PR template for these items. Thanks a lot! |
Hi @Yashwanth1906! Thanks a lot for your contribution! I noticed that the following required information is missing or incomplete: kind of change description Please update the PR description to include this information. You can find placeholders in the PR template for these items. Thanks a lot! |
built with Refined Cloudflare Pages Actionβ‘ Cloudflare Pages Deployment
|
Codecov ReportAll modified and coverable lines are covered by tests β
Additional details and impacted files@@ Coverage Diff @@
## main #1712 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 18 18
Lines 448 448
Branches 116 116
=========================================
Hits 448 448 β View full report in Codecov by Sentry. π New features to boost your workflow:
|
@benjagm @idanidan29 Can u review this PR? |
@Utkarsh-123github Can I know what is unclear in this PR? So that I can make changes accordingly.. |
Hey @Yashwanth1906 , this PR is completely fine, actually I was adding the PRs to the PR board, so for the initial step I need to add all the PRs to unclear stage and then to Ready to review status. I'll make the changes by the EOD. |
What kind of change does this PR introduce?
π Bugfix β fixes the scroll lock and layout shift issue when opening the navigation menu on mobile view.
Issue Number:
Closes #1484
Screenshots/videos:
N/A (functional CSS-level fix; visual change is subtle and responsive)
If relevant, did you update the documentation?
Not applicable β no changes required to documentation.
Summary
This PR addresses a scroll lock issue described in #1484, where opening the navigation menu in mobile view did not prevent background scrolling and caused a disjointed UX.
Fix implemented:
In Layout.tsx, adjusted CSS to:
Shift the content below the top bar downward when the navigation menu is opened.
Lock the scroll to prevent background movement while the menu is active.
Restore scroll after the menu is closed or a navigation option is selected.
This ensures a smoother and more predictable mobile interaction.
Does this PR introduce a breaking change?
No breaking changes β the fix is isolated to the responsive mobile layout.