HelpOps-Hub icon indicating copy to clipboard operation
HelpOps-Hub copied to clipboard

Dropdown menus do not close automatically on outside click or when opening another dropdown

Open iamprasoon2006-cell opened this issue 6 months ago • 2 comments

Bug Description

The dropdown menus on the Resources page remain open even after clicking outside the dropdown area.

Additionally, when opening the second dropdown, the first dropdown does not close automatically, causing multiple dropdowns to stay open simultaneously.

Expected Behavior

  • Clicking outside should close all open dropdowns
  • Opening one dropdown should automatically close previously opened dropdowns

Steps to Reproduce

  1. Open first dropdown
  2. Open second dropdown
  3. Observe both remain open
  4. Click outside dropdown area
  5. Observe dropdowns still remain open

Suggested Fix

Implement outside-click detection and centralized dropdown state management so only one dropdown remains open at a time.

iamprasoon2006-cell avatar May 12 '26 20:05 iamprasoon2006-cell

Hello iamprasoon2006-cell, Thanks for opening an issue in HelpOps-Hub! 🚀

  • Please make sure to follow our Contributing Guidelines.

  • Hope you star our Repo.

  • Join our official Discord server, where we can collaborate and discuss how to make HelpOps-Hub even better and more professional.

  • Don’t forget to follow us on LinkedIn!

github-actions[bot] avatar May 12 '26 20:05 github-actions[bot]

Hi @mdazfar2 👋

I would like to work on this issue as part of GSSoC 2026.

I plan to: implement outside click detection , ensure only one dropdown stays open at a time , improve dropdown state handling.

Could you please assign this issue to me?

Thank you!

RohitChavan16 avatar May 17 '26 10:05 RohitChavan16

This issue has been automatically closed because it has been inactive for more than 30 days. If you believe this is still relevant, feel free to reopen it or create a new one. Thank you!

github-actions[bot] avatar Jun 19 '26 04:06 github-actions[bot]