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

"clear search input" button #335

Open
tleb opened this issue Sep 26, 2024 · 0 comments
Open

"clear search input" button #335

tleb opened this issue Sep 26, 2024 · 0 comments

Comments

@tleb
Copy link
Member

tleb commented Sep 26, 2024

  • Context: when searching for an ident and pressing enter, we land on an ident page and the searchbar is still populated.
  • Issue: if we want to write something else, we must select text inside the input, remove it, then start using it again.
  • Proposal: add a clear (×) button at the end of the input.

image

  • It mustn't make the input too small in any scenario, so it is fine to hide it in those cases. Is there any such case? For example, the input takes the full width on mobile.
  • Question: should we keep the magnifying glass logo? It makes it clear it is a searchbar but a cross besides the magnifying glass logo might look messy.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant