Skip to content
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

Dropdown remains open unless page is refreshed #542

Open
JANVISAHARAN opened this issue Feb 18, 2025 · 3 comments
Open

Dropdown remains open unless page is refreshed #542

JANVISAHARAN opened this issue Feb 18, 2025 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@JANVISAHARAN
Copy link

Describe the bug
When a user clicks on a dropdown menu at the bottom left where it is written Demo User, it opens as expected. However, if the user clicks outside the dropdown or does not choose anyoption from settings or logout, the dropdown does not close. The dropdown remains open until the page is refreshed.

To Reproduce
Steps to reproduce the behavior:

Go to the page with the dropdown menu.
Click on the dropdown button to open the menu.
Click anywhere outside the dropdown.
The dropdown remains open instead of closing.
Expected Behavior
When clicking outside the dropdown, the menu should close automatically.

Screenshots

Image

Desktop
Browser: Chrome
OS: Windows

Additional Context
The issue might be related to missing event listeners for closing the dropdown on an outside click.
Possibly caused by event bubbling not being handled properly.

@JANVISAHARAN JANVISAHARAN added the bug Something isn't working label Feb 18, 2025
@JANVISAHARAN
Copy link
Author

@erenfn actually i raised the issue in after figuring it out in the hope that as bug is found by me it will be assigned to me

@erenfn
Copy link
Collaborator

erenfn commented Feb 18, 2025

Oh okay sure. @thomastepi if you haven't started yet, we can pass it to @JANVISAHARAN

@erenfn
Copy link
Collaborator

erenfn commented Feb 21, 2025

@JANVISAHARAN You can take on the issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants