bug: Search Bar on Main Page Becomes Unresponsive After First Use
Describe the bug The search bar on the main page does not function as expected on subsequent searches. Initially, pressing Ctrl + K opens the search bar correctly, and the first search query executes without issues. However, after clearing the search bar and attempting a second search, the search bar becomes unresponsive. No search results load, and clearing or entering new input does not resolve the issue.
To Reproduce Steps to reproduce the behavior: 1.) Press Ctrl + K to activate the search bar.
2.) Enter a search query → results load successfully.
3.) Clear the search input.
4.) Enter a second search query.
5.) Observe that the search bar becomes stuck, and no results load.
Expected behavior The search bar should consistently process input and load results every time a new query is entered, regardless of whether the bar has been cleared previously.
Screenshots or GIFs
After pressing Ctrl+K
After first query:
After clearing the search query:
Finally after the second query:
Info:
- Browser : Chrome
- Version : 136.0.7103.113
@SainiAdi-04 , I just looked through the code and have identified the issue , seems like the fuse instance was getting recreated everytime when the deferred input changes , leading to use the stale tracks which triggered race conditions , I will raise a pr for the fix .
Hi, I noticed there is an open pull request addressing this issue. Is this PR currently being actively worked on? If it's stalled or if additional help is needed, I would be happy to contribute to move things forward. Please let me know how I can assist!