daily-code icon indicating copy to clipboard operation
daily-code copied to clipboard

bug: Search Bar on Main Page Becomes Unresponsive After First Use

Open SainiAdi-04 opened this issue 6 months ago • 2 comments

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 Image

After first query: Image

After clearing the search query: Image

Finally after the second query: Image

Info:

  • Browser : Chrome
  • Version : 136.0.7103.113

SainiAdi-04 avatar Jul 11 '25 07:07 SainiAdi-04

@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 .

Tiru-99 avatar Jul 24 '25 19:07 Tiru-99

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!

Tushar0203 avatar Aug 27 '25 21:08 Tushar0203