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

πŸš€ Navbar does not automatically close when clicking outside of it (GSSOC'23) #175

Open
1 task done
Shakeelkhuhro opened this issue Jul 19, 2023 · 2 comments
Open
1 task done
Labels
enhancement New feature or request gssoc23 This is label for GirlScript Summer of Code 2023

Comments

@Shakeelkhuhro
Copy link

Description of the enhancement. ✍🏻

Issue:
When interacting with the website's navbar, there is an issue where it does not automatically close when clicking on a blank area of the screen outside of the navbar's boundaries.

Expected Behavior:
Clicking on a blank area of the screen outside of the navbar's boundaries should trigger an event that closes the navbar, hiding it from view.

Please assign this issue to me under GSSOC'23 so that I can resolve it.

Describe briefly how you would implement this enhancement.

After Identifying the "blank" area outside the navbar where clicking should trigger the navbar to close, I'll follow the following steps.

1. Attach a click event listener to that area.
2. In the event handler function:
   - Check if the navbar is open.
   - If it is, close the navbar.
Clicked target should not be part of the navbar itself.
3. Optionally, CSS styles or animation transitions for a smooth closing effect.
4. Test thoroughly to ensure the navbar closes when clicking outside and remains open when clicking inside the navbar.
5. Debug any issues that arise during testing.

Screenshots Example (if applicable)

nav-issue-made-with-clipchamp-1_AS4CphGw.mp4

Additional information

No response

Contributor terms

  • I agree to follow the Contributing Instructions
@Shakeelkhuhro Shakeelkhuhro added the enhancement New feature or request label Jul 19, 2023
@github-actions
Copy link

Hello @Shakeelkhuhro!
Thank you for raising this issue.

Please make sure to follow our Contributing Guidelines. πŸ’ͺ🏻
Don't forget to ⭐ our GitHub-ReadMe. πŸ“ƒ

Our review team will carefully assess the issue and reach out to you soon! πŸ˜‡
We appreciate your patience! πŸ˜€

@github-actions github-actions bot added the gssoc23 This is label for GirlScript Summer of Code 2023 label Jul 19, 2023
@Shakeelkhuhro
Copy link
Author

Hello @Shakeelkhuhro! Thank you for raising this issue.

Please make sure to follow our Contributing Guidelines. πŸ’ͺ🏻 Don't forget to ⭐ our GitHub-ReadMe. πŸ“ƒ

Our review team will carefully assess the issue and reach out to you soon! πŸ˜‡ We appreciate your patience! πŸ˜€

plz assign this issue to me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request gssoc23 This is label for GirlScript Summer of Code 2023
Projects
None yet
Development

No branches or pull requests

1 participant