Skip to content
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

Bug: Menu Bar Causes Horizontal Scrolling on Mobile #1045

Open
himanshukandari14 opened this issue Feb 4, 2025 · 1 comment
Open

Bug: Menu Bar Causes Horizontal Scrolling on Mobile #1045

himanshukandari14 opened this issue Feb 4, 2025 · 1 comment

Comments

@himanshukandari14
Copy link

When opening the menu bar on mobile, a sheet is triggered that causes the entire site to become horizontally scrollable. This affects the user experience by allowing unwanted horizontal movement.

Steps to Reproduce

  • Open the website on a mobile device.
  • Click on the menu button to open the navigation.
  • Observe that a horizontal scrollbar appears, allowing unintended side-scrolling.

Expected Behavior

  • The menu should open without causing horizontal scrolling.

The rest of the page should remain fixed while the menu is open.
Actual Behavior
The menu causes a horizontal overflow, making the whole site scroll sideways.

Screen.Recording.2025-02-04.130605.mp4

I am taking up this issue for a fix. I will investigate and implement a solution.

Self-Assignment: @himanshukandari14

@Vamsi-yvk63
Copy link

Possible Fix: Change width: 100vm to width: 100%
I noticed that width: 100vm is being used. This might be a typo because 100vm is not a valid CSS unit. You might want to try width: 100% instead.
Let me know if this helps!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants