elrumo / macOS_Big_Sur_icons_replacements

Replacement icons for popular apps in the style of macOS Big Sur
https://macosicons.com
GNU General Public License v3.0
4.14k stars 231 forks source link

Latter search result was replaced by previous search result #1121

Closed kuige closed 3 years ago

kuige commented 3 years ago

When I start typing, it instantly fetch the search result. However, sometimes the search result of my last typing is not correct, maybe it's replaced by the previous search result due to the async fetching ?

I think it's lacking some kind of sequential handling mechanism to ensure that the last showed result is the last search result.

For example:

image

After adding one space and removing the space at the end of typing to trigger another searching, the result is correct now:

image
elrumo commented 3 years ago

You're right, I've spotted that issue too. I'll try to figure out a way to fix it.

elrumo commented 3 years ago

I can't reproduce the issue anymore, I've made some changes to how the data is handled on the website so that might have fixed it. I'm closing the issue, but feel free to open it again if you encounter the bug.