You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[$250] Expense - Expense RHP composer does not not auto focus when opened from report RHP #79860
Version Number: 9.3.4-0 Reproducible in staging?: Yes Reproducible in production?: Yes If this was caught during regression testing, add the test name, ID and link from BrowserStack:#77657 Email or phone of affected tester (no customers):sdsdjnoisjsoidjois@gmail.com Issue reported by: Applause Internal Team Bug source: Exploratory - Significant User Experience Deterioration Device used: Mac 26.1 / Chrome App Component: Money Requests
Action Performed:
Go to staging.new.expensify.com
Go to workspace chat.
Create two expenses.
Open the expense report.
Open any expense.
Expected Result:
Expense RHP composer will auto focus.
Actual Result:
Expense RHP composer does not auto focus when opened from report RHP.
This issue does not happen when expense RHP is opened from central pane report.
Please re-state the problem that we are trying to solve in this issue.
When opening an expense in the Expense RHP from the report RHP, the composer does not auto-focus (even though it should). This does not happen when opening the same Expense RHP from the central pane report.
What is the root cause of that problem?
Auto-focus is explicitly blocked in the stacked-RHP case. In ComposerWithSuggestions, auto-focus on SCREENS.RIGHT_MODAL.SEARCH_REPORT is disabled whenever another (super wide) RHP is displayed underneath (to avoid animation/layout jank). The “report RHP → expense RHP” flow creates exactly that stacked scenario, so the composer never focuses.
What changes do you think we should make in order to solve the problem?
Replace the “disable autofocus entirely” behavior with “delay autofocus until after the transition completes” when SEARCH_REPORT is stacked above another RHP.
Keep the existing focus logic and conditions the same otherwise, so we preserve current behavior outside this edge case.
changed the title [-]Expense - Expense RHP composer does not not auto focus when opened from report RHP[/-][+][$250] Expense - Expense RHP composer does not not auto focus when opened from report RHP[/+]on Jan 22, 2026
Activity
melvin-bot commentedon Jan 19, 2026
Triggered auto assignment to @stephanieelliott (
Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.annaweber830 commentedon Jan 19, 2026
Proposal
Please re-state the problem that we are trying to solve in this issue.
When opening an expense in the Expense RHP from the report RHP, the composer does not auto-focus (even though it should). This does not happen when opening the same Expense RHP from the central pane report.
What is the root cause of that problem?
Auto-focus is explicitly blocked in the stacked-RHP case. In ComposerWithSuggestions, auto-focus on SCREENS.RIGHT_MODAL.SEARCH_REPORT is disabled whenever another (super wide) RHP is displayed underneath (to avoid animation/layout jank). The “report RHP → expense RHP” flow creates exactly that stacked scenario, so the composer never focuses.
What changes do you think we should make in order to solve the problem?
App/src/pages/home/report/ReportActionCompose/ComposerWithSuggestions/ComposerWithSuggestions.tsx
Line 263 in eafbcff
const shouldDelayAutoFocus = superWideRHPRouteKeys.length > 0 && route.name === SCREENS.RIGHT_MODAL.SEARCH_REPORT;App/src/pages/home/report/ReportActionCompose/ComposerWithSuggestions/ComposerWithSuggestions.tsx
Lines 276 to 278 in eafbcff
App/src/pages/home/report/ReportActionCompose/ComposerWithSuggestions/ComposerWithSuggestions.tsx
Lines 602 to 604 in eafbcff
What alternative solutions did you explore? (Optional)
[-]Expense - Expense RHP composer does not not auto focus when opened from report RHP[/-][+][$250] Expense - Expense RHP composer does not not auto focus when opened from report RHP[/+]melvin-bot commentedon Jan 22, 2026
Job added to Upwork: https://www.upwork.com/jobs/~022014478928592061964
melvin-bot commentedon Jan 22, 2026
Triggered auto assignment to Contributor-plus team member for initial proposal review - @brunovjk (
External)melvin-bot commentedon Jan 27, 2026
@brunovjk Eep! 4 days overdue now. Issues have feelings too...
28 remaining items
melvin-bot commentedon Mar 9, 2026
Current assignee @stephanieelliott is eligible for the Awaiting Payment assigner, not assigning anyone new.
mallenexpensify commentedon Mar 9, 2026
Payment Summary
Contributor: @annaweber830 paid $250 via Upwork
Contributor+: @brunovjk due $250 via NewDot
@annaweber830 can you please accept the job below? Please reply here and tag me once you have.
https://www.upwork.com/jobs/~022031053590728663848
^ Test case created
melvin-bot commentedon Mar 9, 2026
@annaweber830 Whoops! This issue is 2 days overdue. Let's get this updated quick!
melvin-bot commentedon Mar 9, 2026
@annaweber830 Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!
brunovjk commentedon Mar 10, 2026
Requested in ND.
twisterdotcom commentedon Mar 10, 2026
@brunovjk has submitted payment for this report on ND here.
SO: https://stackoverflowteams.com/c/expensify/questions/7582
Zapier Logs
Run ID: 00040eee-dcfd-a2c1-aa8a-a732313555c4melvin-bot commentedon Mar 11, 2026
@annaweber830 Huh... This is 4 days overdue. Who can take care of this?
melvin-bot commentedon Mar 11, 2026
@annaweber830 Huh... This is 4 days overdue. Who can take care of this?
annaweber830 commentedon Mar 25, 2026
Hi @mallenexpensify I didn't receive payment.
mallenexpensify commentedon Mar 26, 2026
@annaweber830 paid, summary updated above. Thx.
@annaweber830 when we post the below messages, make sure you reply and tag me/us so I get a notification to pay ya. Thx