-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Medium
-
Component/s: Space - List
-
None
-
1
-
Severity 3 - Minor
Issue Summary
In the New Issue Navigator (Detail View), after the page is left idle for ~5–30 minutes, the first click on a search result is lost. The clicked issue resets to the first result in the list. Subsequent clicks work correctly.
The first interaction after a long idle period causes the resource-router store to emit a new route/resource state. This re-renders router components at the top of the React tree (withRouter / RouterSubscriber), which unmounts and re-mounts the entire application subtree (~4,600–4,720 components). The re-mount rebuilds the Issue Navigator from the route state, and the issue the user just clicked is lost.
The unmount/re-mount is expected behavior for state recovery after idle. However, the newly clicked issue should be remembered and restored after the re-mount.
Steps to Reproduce
- Chrome v149
- Detail View (not List View)
- Project List route
- First issue or no issue explicitly selected in the search results
- Select an issue other than the first in search results
- Leave the browser tab idle/unfocused for ~5–30 minutes
- Return and click on any issue other than the first result.
Expected Results
The clicked issue should be displayed
Actual Results
The first issue in the list is displayed instead of the clicked one.
Workaround
Refresh the page (F5) before interacting with results after returning from an idle period, or click the search/refresh button to force a fresh search execution before selecting a result.