-
-
Notifications
You must be signed in to change notification settings - Fork 65
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed debounced search overriding url-match results when searching links
no issue When the query matches a URL we immediately call the `search()` method to replace the results with an "Insert URL" result but if a debounced search was still running that could then overwrite the "Insert URL" result when it finishes debouncing/running. - added an explicit debounce cancel when we make an immediate `search()` call - updated tests to reduce flakiness by ensuring the spinner is not visible before comparing html
- Loading branch information
1 parent
4ac1dd9
commit 96a6a9a
Showing
3 changed files
with
6 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters