Skip to content

Clear search bar when returning to Home #101

Description

@linear

Description:
Currently, when users perform a search and then navigate back to the previous page or return to the Home page, the search term remains in the search bar. This can be confusing, as it may appear that a previous search is still active. Automatically clearing the search bar would provide a cleaner and more intuitive user experience.

Acceptance Criteria:

  • When a user searches for something, the search term remains in the search bar while the user stays on the search results page.
  • When a user navigates back from a search results page, the search bar is cleared.
  • When a user returns to the Home page from any other page, the search bar is cleared.
  • The cleared state should be consistent across all devices and screen sizes ("Search for anything…").
  • Clearing the search bar does not affect other user preferences, filters, or app state outside of the search input.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions