thecyberworld / TheCyberHUB

Welcome to TheCyberHUB, a community-driven platform for hackers, cybersecurity enthusiasts, and IT professionals. Our platform provides a variety of free resources, including Capture The Flag (CTF) challenges, courses, blogs, forums, and much more.

Home Page:http://www.thecyberhub.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

User Option dropdown doesn't close if click outside of it or scroll

s2sharpit opened this issue · comments

Describe the bug

NOTE: PROFILE DROPDOWN IS USED INSTEAD OF USER OPTION DROPDOWN AT SOME PLACES.

When the profile dropdown is open and clicks outside of it or scroll, it should close the profile dropdown.

To Reproduce

Click on the Profile dropdown, in the top right corner to open it.
Click outside of it or try scrolling.
The Profile dropdown does not close on clicking outside or scrolling.

Expected Behavior

The Profile dropdown should close if click outside of it or on scrolling.

Screenshot/ Video

20230316_005422.mp4

image

Code of Conduct

  • I agree to follow this project's Code of Conduct

It's great having you contribute to this project

🌟 Welcome to the community 🌟

  • If you would like to continue contributing to open source and would like to do it with an awesome inclusive community.
  • You should join our Discord chat and our GitHub Organisation.
  • We help and encourage each other to contribute to open source little and often 😄.
  • Any questions let us know.

Hey @kabir0x23, Could you assign me so that I can help in fixing the bug?

commented

Hey @s2sharpit
Thank you for creating an issue for this one

I am assigning this issue to u.

If u will have any questions or doubts, feel free to ask below
Thank u.

I've made the necessary changes and have issued a PR, please check it out.