Closed kang-kibong closed 5 months ago
Searching for icons with spaces in the query does not yield results. This issue was raised once before, but it seems to persist. #796
const [inputQuery, setInputQuery] = React.useState(""); const onChange = (e: React.ChangeEvent<HTMLInputElement>) => { const query = e.target.value; setInputQuery(query); debouncedOnSearch(query); };
In this part, It seems that removing spaces from the user-input query during debouncing could resolve the issue.
No response
Describe
Searching for icons with spaces in the query does not yield results. This issue was raised once before, but it seems to persist. #796
Solution
In this part, It seems that removing spaces from the user-input query during debouncing could resolve the issue.
Minimal sample repository URL
No response
Additional context
No response