-
Notifications
You must be signed in to change notification settings - Fork 1
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
fix: Unable to close out of flyout menu #306
Conversation
🎉 View the deployed prototype - https://282-fix-mobile-nav--ussf-portal-client.netlify.app |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
The issue mentions being able to close the menu with a click outside the menu. Currently, it stays open. Could we add the |
0187d57
to
86cb8b0
Compare
Okaaaaaay done! |
🎉 View the deployed prototype - https://282-fix-mobile-nav--ussf-portal-client.netlify.app |
Description
This PR makes a small adjustment to the header/nav overlay markup so those elements are not flex children (direct descendants of an element with
display: flex
), which was interfering with their z-index when the overlay is open.Fixes #282
Review Notes
To test, view the site at a mobile/tablet screen size and open the header navigation (the Menu button). Verify you are able to interact with the links, and close the menu by clicking the "X" icon.