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
Bad behavior on top search bar #6260
Comments
We discussed we @Kedae, that we add a functionality where the search is triggered "onBlur" when leaving the input. |
Well I think we misunderstood each other. My point was the following : we need the searchInput to be correctly cleared when clearing filters. That being said, I'm not really sure what is the problem here @SamuelHassine, lot of tools (Notion for example, or our own docs) search when typing, onBlur or stuff like that not depending on a "enter" click. If it allows us more consistency and simpler interaction why should we rollback ? |
@jpkha additionnaly, the clear on search panel doesn't clear the input |
My point here is simply that we add the onBlur capability to ensure consistency. @SamuelHassine may not have been aware of this. I believe it would be clearer to submit a query upon leaving the search input because, in my opinion, having a search within the input but not applied to the list can confuse the user. But let me know if you prefer to update the localStorage without triggering the query, as it is also possible. |
the onBlur should not trigger the query. (Seen with Adrien) |
Description
Expected Output
The search should only be triggered when clicking on the search icon or if the key "enter" is pressed
The text was updated successfully, but these errors were encountered: