Skip to content

The search results page spins forever when the search preview runs #3867

Closed

Description

@AlexAndBear

Initial Checklist

  • I understand this is a bug report and questions should be posted in the Community Discussions
  • I searched issues and couldn’t find anything (or linked relevant results below)

Bug Description

The search results page can spin forever: the search preview and the results list share one restartable search task, so a preview search cancels the running results search, and the list never leaves its loading state.

Reproduction Steps

  1. Type a search term whose request takes longer than about 0.5 s and press Enter right away.
  2. Or: click into the search field while the results page is still loading.

Expected Outcome

The results, or "No results found".

Actual Outcome

The results request is aborted (net::ERR_ABORTED) by the preview request and the loading spinner stays until reload.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions