SaptarshiSarkar12 / Drifty

Drifty is an Open-Source Interactive File Downloader System built with Java
https://saptarshisarkar12.github.io/Drifty/
Apache License 2.0
177 stars 130 forks source link

[BUG] The nav bar does not close if the selected nav item is already loaded #673

Closed SaptarshiSarkar12 closed 3 weeks ago

SaptarshiSarkar12 commented 1 month ago

Describe the bug

If we are on a page (say, download page) and we click on nav bar, then on the same page's nav item (here, download), the nav bar neither closes nor reloads the page.

Steps To Reproduce

  1. Go to the official website on any phone.
  2. Click on any nav item (download, contact us, or about)
  3. After that page is loaded, re-open the nav bar and click on that same nav item once again.
  4. You can see that neither the nav bar closes nor does the page reload.

Expected Behavior

The nav bar must either close or reload the page. Closing the nav bar is preferable to reduce network usage.

Operating System

Other

Browser

Microsoft Edge, Google Chrome, Safari, Brave, Other

Screenshots

https://github.com/user-attachments/assets/400a768c-e982-41ff-b78e-b70b1016a629

Additional information

If anyone wants to contribute to this issue, please comment down below.

Do you want to work on this issue?

No

github-actions[bot] commented 1 month ago

Hello 👋! Thank you very much for raising an issue 🙌! The maintainers will get back to you soon for discussion over the issue! 🚀

Meanwhile you can also discuss about the project in our Discord Server 😀

drippypop commented 1 month ago

Hello again! Mind if I work on this? I already have a fix ready to make a pull for.

SaptarshiSarkar12 commented 1 month ago

@drippypop No issue 😄. You can work on this. Thank you for your interest 😀. Assigning this task to you 😁.