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

Can we search without pressing enter ? #86

Open
dardar4 opened this issue Nov 1, 2020 · 0 comments · May be fixed by #112
Open

Can we search without pressing enter ? #86

dardar4 opened this issue Nov 1, 2020 · 0 comments · May be fixed by #112

Comments

@dardar4
Copy link

dardar4 commented Nov 1, 2020

Hi
the SearchBar is really nice but I was wondering is there a way to avoid the need to press enter everytime we want to make a search?

i don't understand why the search icon is being replaced with an X symbol when I'm starting to add some input?
if it only appears when the search bar is empty what is the use of the search icon?

i would prefer to have both icons whenever I write some text, one for searching (i.e calls onRequestSearch) and the other for clearing the text

not sure if it matters but I'm using stateless components (with useState hook)

thanks

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 a pull request may close this issue.

1 participant