Skip to content

fix: close dropdown when clicking outside#10

Merged
jay3332 merged 1 commit intomainfrom
unknown repository
Sep 6, 2025
Merged

fix: close dropdown when clicking outside#10
jay3332 merged 1 commit intomainfrom
unknown repository

Conversation

@ghost
Copy link
Copy Markdown

@ghost ghost commented Sep 6, 2025

What changed

  • Added an outside click handler so the Guild Sidebar dropdown now closes when clicking anywhere else.
  • Cleaned up toggle handling to make the open/close behaviour more consistent.

Why

The dropdown stayed open until the header was clicked again, which was not responsive and was clunky, It now behaves more like a normal dropdown, which is less clunky and more responsive

@jay3332 jay3332 merged commit 351a7c8 into AdaptChat:main Sep 6, 2025
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

Successfully merging this pull request may close these issues.

2 participants