Skip to content

fix: clear search bar text when switching categories#455

Merged
steam-bell-92 merged 1 commit into
steam-bell-92:mainfrom
snehanair-486:fix/search-bar-clear-on-category-switch
May 19, 2026
Merged

fix: clear search bar text when switching categories#455
steam-bell-92 merged 1 commit into
steam-bell-92:mainfrom
snehanair-486:fix/search-bar-clear-on-category-switch

Conversation

@snehanair-486
Copy link
Copy Markdown
Contributor

Changes Made

  • Added an event listener in index.html that clears the navbar search input whenever a category tab is clicked

How to Test

  1. Open the web app
  2. Type any project name in the search bar (e.g. calculator)
  3. Click on any category tab - Games, Math, Utilities, etc.
  4. Search bar should now be empty ✅

Related Issue

Closes #453

@vercel
Copy link
Copy Markdown

vercel Bot commented May 19, 2026

@snehanair-486 is attempting to deploy a commit to the Anuj's projects Team on Vercel.

A member of the Team first needs to authorize it.

@steam-bell-92 steam-bell-92 merged commit 775e7e3 into steam-bell-92:main May 19, 2026
3 of 4 checks passed
@github-actions
Copy link
Copy Markdown
Contributor

🎉 Thank you for your contribution!

Your Pull Request has been merged successfully.

We appreciate the time and effort you put into improving this project. Contributions like yours help the repository grow and stay useful for everyone.

If you'd like to contribute again, please check the open issues and make sure you are assigned before opening another Pull Request.

Thanks again for your support! 🙌

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

🐛 [Bug]: Search bar text persists after switching categories

2 participants