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

Nav Links are still clickable when the navigation is closed in Mobile View #65

Open
tomjbradley opened this issue Mar 24, 2021 · 1 comment
Assignees

Comments

@tomjbradley
Copy link

Problem
When the viewport is less than 780px (mobile width) and the navigation is closed the nav links are still clickable.

Steps to reproduce

  1. Install wordpress
  2. Install the WP Indigo theme
  3. Create a Menu with location "Primary Menu"
  4. Go to the home page
  5. Resize the window to less than 780px
  6. Try to click where the links would be if the navigation were opened

Expected Output
I excepted the links to not be clickable when the navigation is closed

System Setup
Operating System: Windows 10
Local Development Environment: XAMPP
Wordpress Version: 5.7

Additional Info
I have no other plugins installed and I've tested this on a fresh copy of wordpress, so I think its a bug in the code.

I believe this is just a simple fix and the links just need the visibility: hidden property when closed. I'd be happy to work on this and submit the PR soon.

@tomjbradley
Copy link
Author

Hey, I've just been debugging this a bit and it seems like its only a problem on the development branch.

@mrmolaei mrmolaei assigned mrmolaei and unassigned navidkashani Apr 7, 2021
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

3 participants