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

Toggle search button icon between magnifier and X icon depending on search state. #164

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ansonl
Copy link

@ansonl ansonl commented Aug 8, 2022

This is an enhancement or feature.

Summary

Added the ability for the search button icon to switch into a Close X icon when the user is searching. The search icon toggles between the magnifying glass and close icons depending on the search state like below.

Changing the search button icon at the top of the page provides feedback to the user on what mode they are in and additionally signals a way for the user to exit search and return to viewing the main content.

magnifying glass
close x

Context

@ansonl ansonl changed the title Add .search-toggle icon switching depending on search state. Toggle search button icon between magnifier and X icon depending on search state. Aug 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant