stork
stork copied to clipboard
Searching too early returns zero results
If a user finishes typing while Stork is 'loading' the dropdown says "No files found." (even after everything has loaded) but if the user backspaces, or enters more characters, then the correct results will show.
Video
https://user-images.githubusercontent.com/34559231/145709075-1e2743b5-733a-421d-b890-03b75c26e9ec.mov
This is reproducible today at https://healeycodes.com/articles or at https://github.com/healeycodes/healeycodes.com/commit/6bffcbb0ad5d5a2fad02d044740f8a94a8d74dc0 for longevity.
Do let me know if this is an error on my side!