Skip to content

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

@iamprasoon2006-cell

Description

@iamprasoon2006-cell

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions