urlSync combined with specific searchFunction does not updates on first letter
See original GitHub issueDo you want to request a feature or report a bug?
bug
Test case: https://jsfiddle.net/8bqdcrg3/8/, this console.log the location.href continuously.
Bug: What is the current behavior?
When using this searchFunction:
{
searchFunction: function(helper) {
var query = helper.state.query;
// with this code the url is not updated on first letter
// while the search is being done
if (query === '') {
return;
}
helper.search();
},
}
The urlSync will not be triggered for the first typed letter, but only at the second one.
Bug: What is the expected behavior?
urlSync must be triggered for the first letter
Bug: What browsers are impacted? Which versions?
all
Bug: What is the proposed solution?
I don’t know
What is the version you are using? Always use the latest one before opening a bug issue.
2/
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
Couple of questions about urlSync (instantsearch.js)
I would like to completely redesign the URL design to something like betalist.com/jobs/$commitment-$query-in-$location (e.g. betalist.com/jobs/ ...
Read more >Free Automated Malware Analysis Service - Hybrid Analysis
Submit malware for free analysis with Falcon Sandbox and Hybrid Analysis technology. Hybrid Analysis develops and licenses analysis tools to ...
Read more >https://github.com/angular-ui/ui-router/issues/3273 - Plunker
You do not need to keep these states, nor any of the other boilerplate, if you do ... Each combination (2-tuple) of predicate...
Read more >Best Apps for "Watching Offline" in News & Magazines
Ratings & Reviews · Apr 24, 2020. By A Google user. I've always watched France 24 news and thought I should try their...
Read more >Бандерасын эхнэр өөрийгөө зэрэмдэглэжээ - Factnews.mn
His father not only kicked him out of the house at the age of 14 but also ... windows 8.1 update does not...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
(I answered the underlying helpscout ticket)
That should work indeed!