You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using searchOnEnterKeyPress with a custom searchFunction that prevent some cases of search (empty query, query with under n letters), the url is not updated after the first results. The problem is identified here. The url sync bind the URL mechanics only after the first results have come back from Algolia.
This is a problem when the user blocks the initial first search using a searchFunction (which makes sense as they want to delay the first search until a user actually uses the search). This creates a limbo state for instantsearch making the url sync fail.
This is a tough one, because instantsearch.js has been created with the assumption that we're doing an initial search.
The text was updated successfully, but these errors were encountered:
This a bug affects instantsearch.js 1.x
When using searchOnEnterKeyPress with a custom searchFunction that prevent some cases of search (empty query, query with under n letters), the url is not updated after the first results. The problem is identified here. The url sync bind the URL mechanics only after the first results have come back from Algolia.
This is a problem when the user blocks the initial first search using a
searchFunction
(which makes sense as they want to delay the first search until a user actually uses the search). This creates a limbo state for instantsearch making the url sync fail.This is a tough one, because instantsearch.js has been created with the assumption that we're doing an initial search.
The text was updated successfully, but these errors were encountered: