I am trying to implement a basic live search bar so I have an event listening to any keyup:
\'keyup input.search-query\': function (evt) {
Session.set(\"
The problem was in the HTML actually.
I has the search bar and the search results in the same template, so whenever the template would refresh with new results, it would blur the search bar. All I did was make the search results its own template and import that template below the search bar so everything looks the same.