Connection/timing
Discovered during review of #86238 but reproduces on staging independently of those changes.
Description
When viewing an expense report opened from search results, rapidly clicking the prev/next navigation arrows causes the RHP to dismiss unexpectedly. The panel closes as if the report was deleted, even though the user is simply navigating to the next report in the list.
Steps to reproduce
- Run a search filtered to Expense Reports with several results
- Open one of the expense reports (RHP opens)
- Rapidly click the next (or prev) arrow multiple times
Expected behavior
The RHP stays open and displays each successive report.
Actual behavior
The RHP closes mid-navigation, returning the user to the search results list.
Root cause (high level)
SearchMoneyRequestReportPage has a removal-detection effect that dismisses the modal when the report becomes undefined while the previous report was a money request report. During arrow navigation, the route params update before Onyx resolves the new report data, creating a brief window where the report is undefined — which the effect misinterprets as a deletion.
Platform
Reproduces on web (staging). Likely affects all platforms.
Issue Owner
Current Issue Owner: @aimane-chnaif
Upwork Automation - Do Not Edit
- Upwork Job URL: https://www.upwork.com/jobs/~022043758139918298894
- Upwork Job ID: 2043758139918298894
- Last Price Increase: 2026-04-13
Connection/timing
Discovered during review of #86238 but reproduces on staging independently of those changes.
Description
When viewing an expense report opened from search results, rapidly clicking the prev/next navigation arrows causes the RHP to dismiss unexpectedly. The panel closes as if the report was deleted, even though the user is simply navigating to the next report in the list.
Steps to reproduce
Expected behavior
The RHP stays open and displays each successive report.
Actual behavior
The RHP closes mid-navigation, returning the user to the search results list.
Root cause (high level)
SearchMoneyRequestReportPagehas a removal-detection effect that dismisses the modal when the report becomes undefined while the previous report was a money request report. During arrow navigation, the route params update before Onyx resolves the new report data, creating a brief window where the report is undefined — which the effect misinterprets as a deletion.Platform
Reproduces on web (staging). Likely affects all platforms.
Issue Owner
Current Issue Owner: @aimane-chnaifUpwork Automation - Do Not Edit