Skip to content

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

@snehanair-486

Description

@snehanair-486

Description

When a user searches for a project using the search bar (e.g. "calculator"), the matching results appear correctly. However, when the user then clicks on any category tab (Games, Math, Utilities, Playground, etc.), although the projects load correctly, the search text remains in the search bar instead of being cleared. This creates a confusing UI state where the input suggests a filter is still active but the results no longer reflect it.

Steps to Reproduce

  1. Open the web app
  2. Type any project name in the search bar (e.g. calculator)
  3. Observe the filtered results appearing correctly
  4. Click on any category tab - Games, Math, Utilities, Playground, etc.
  5. Projects load normally, but the search text still remains in the search bar

Expected Behavior

The search bar should automatically clear when the user switches to a category tab, since the search filter is no longer active.

Actual Behavior

Stale search text remains in the input field even though the displayed results have changed to reflect the selected category.

Screenshots

Image

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions