Skip to content

Dropdown Should Close Immediately After Submenu Selection #6370

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

Open
Jeffrin2005 opened this issue Apr 4, 2025 · 9 comments
Open

Dropdown Should Close Immediately After Submenu Selection #6370

Jeffrin2005 opened this issue Apr 4, 2025 · 9 comments
Labels
framework/gatsby Gatsby related help wanted Extra attention is needed kind/bug Something isn't working

Comments

@Jeffrin2005
Copy link
Contributor

Jeffrin2005 commented Apr 4, 2025

Description

When interacting with the top navigation, clicking a sub-option doesn't close the dropdown immediately. The user has to move the cursor away to make it disappear, which isn't user-friendly. After selecting a sub-option, the dropdown should close instantly, and the user should be taken to the selected page.
https://layer5.io/community
Currently,

issue-1.2.mp4

Expected Behavior

After selecting a sub-option, the dropdown should close instantly, and the user should be taken to the selected page.

Expected Output.

issue-1.mp4

Screenshots

Environment:

  • Host OS:
  • Browser:

Contributor Resources and Handbook

The layer5.io website uses Gatsby, React, and GitHub Pages. Site content is found under the master branch.

Join the Layer5 Community by submitting your community member form.

@Jeffrin2005 Jeffrin2005 added framework/gatsby Gatsby related help wanted Extra attention is needed kind/bug Something isn't working labels Apr 4, 2025
@Jeffrin2005
Copy link
Contributor Author

Jeffrin2005 commented Apr 4, 2025

@leecalcote @miacycle @vishalvivekm Can I work on this issue if this is valid ?

@Jeffrin2005 Jeffrin2005 changed the title Dropdown Should Close Immediately After Submenu Selection" Dropdown Should Close Immediately After Submenu Selection Apr 4, 2025
@vishalvivekm
Copy link
Contributor

@Jeffrin2005
Let's discuss this during the website call today at 5:30 PM IST

adding it as an agenda item to the meeting minutes.

@yashs33244
Copy link

Yes, I want to work on this...

@leecalcote
Copy link
Member

I wonder if this issue was verified on today's Websites meeting.

@yashs33244
Copy link

yashs33244 commented Apr 7, 2025 via email

@yashs33244
Copy link

160e6be
fixed

@leecalcote
Copy link
Member

Thanks, @yashs33244. I see that this hasn't been reviewed or merged, yet. Got it. Please sign your commit(s) in https://github.com/layer5io/layer5/pull/6377/files

@leecalcote
Copy link
Member

@Jeffrin2005 @yashs33244 let's identify where this regression issue surfaced before considering a new approach. In other words, why did this menu stop closing automatically?

@yashs33244
Copy link

The closeDropDown function wasn't configured on the menu item. Also, I committed to the sign-off yesterday — please recheck it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
framework/gatsby Gatsby related help wanted Extra attention is needed kind/bug Something isn't working
Development

No branches or pull requests

4 participants