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
Version Number: 9.4.6-0 Reproducible in staging?: Yes Reproducible in production?: No If this was caught during regression testing, add the test name, ID and link from BrowserStack:#92836 Email or phone of affected tester (no customers):applausetester+sdjonisdji12d@applause.expensifail.com Issue reported by: Applause Internal Team Bug source: Exploratory - Significant User Experience Deterioration Device used: Mac 26.5 / Chrome App Component: User Settings
Action Performed:
Go to staging.new.expensify.com
Go to Account > Profile.
Click Date of birth.
Expected Result:
Date picker will auto open.
Actual Result:
Date field is auto focused, but date picker does not auto open.
This issue also happens when opening Date when creating expense and any step that involves date picker.
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
Identify the pull request that introduced this issue and revert it.
Root Cause: This is an intentional behavior change from PR #92836 ("A11y feat: separate dismiss button and dont auto open the calendar"), not a side-effect bug. That PR deliberately removed the logic that auto-opened the date picker when the input received focus, because auto-opening a modal on focus is a screen-reader/VPAT accessibility violation. The field is still auto-focused, but the calendar no longer auto-opens — which is exactly what QA observed.
The old onFocus={handleInputFocus} handler (and the hasAutoOpenedRef guard) that opened the picker on focus was removed. The picker now only opens on an explicit user action:
This is a product decision, not a code fix. The "regression" QA flagged is the deliberate UX trade-off the PR made for accessibility. The team needs to decide between:
Accept the new behavior (close this as won't-fix / expected) — the picker now opens on click/Enter/typing, which is the accessible pattern. The PR noted manual date entry is a planned follow-up.
Revert PR #92836 to unblock the deploy and restore auto-open, then re-land the a11y work behind a more complete solution.
I'd recommend looping in rushatgabhane (PR author) and the design/a11y reviewers before reverting, since a plain revert undoes a VPAT compliance fix tracked in #77550.
Investigation details
Symptom: Navigate to Account > Profile > Date of birth → field is auto-focused but the date picker does not auto-open. Same on expense-creation date fields. Reproducible on staging (9.4.6-0), not production — consistent with a recent merge.
Evidence chain:
melvin-bot auto-assigned this deploy blocker to the merger of PR #92836.
The PR's only changed file is src/components/DatePicker/index.tsx.
The diff removes handleInputFocus/hasAutoOpenedRef (the auto-open-on-focus path) and replaces onFocus with onKeyPress/onSubmitEditing, plus switches role from PRESENTATION to COMBOBOX with accessibilityState={{expanded}} — all classic combobox a11y patterns.
The PR title and body confirm intent: "dont auto open the calendar" and "a future improvement to allow manual input of date will be needed ... we need this issue fixed for VPAT".
Alternative explanations considered & ruled out: Not a race condition or measurement-timing bug — openIntentRef/calculatePopoverPosition deferral logic is unchanged and the input does focus correctly. The picker opens fine on click, confirming the open path itself works; only the focus-triggered auto-open was removed.
Related:#77534 is the sibling a11y issue (dismiss-button announcement) from the same VPAT effort — relevant context if reverting.
Confidence: High — single-file PR, intent stated explicitly by the author, code matches symptoms exactly.
Next Steps for Contributor+ team: To accept:@MelvinBot implement [this](https://github.com/Expensify/App/issues/93356) to create a draft PR. To refine:@MelvinBot <your feedback> To reject: Explain why you are rejecting Melvin's proposal.
Activity
applause-bot commentedon Jun 12, 2026
While Applause doesn't embed attachments for this bug, here are the links for quick view:
https://platform.applause.com/services/links/v1/external/a6a026c20b17e20473173374cbcb5ac2b5eea313cdd57b3f42776f0cc1715c8b
melvin-bot commentedon Jun 12, 2026
You have been assigned to this deploy blocker because you recently merged this PR: #92836
melvin-bot commentedon Jun 12, 2026
💬 A slack conversation has been started in #expensify-open-source
github-actions commentedon Jun 12, 2026
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
MelvinBot commentedon Jun 12, 2026
Issue Analysis
Root Cause: This is an intentional behavior change from PR #92836 ("A11y feat: separate dismiss button and dont auto open the calendar"), not a side-effect bug. That PR deliberately removed the logic that auto-opened the date picker when the input received focus, because auto-opening a modal on focus is a screen-reader/VPAT accessibility violation. The field is still auto-focused, but the calendar no longer auto-opens — which is exactly what QA observed.
The old
onFocus={handleInputFocus}handler (and thehasAutoOpenedRefguard) that opened the picker on focus was removed. The picker now only opens on an explicit user action:onPress— clicking the fieldonSubmitEditing— pressing EnteronKeyPress— typing a numeric key (handled byhandleInputKeyPress)This is a product decision, not a code fix. The "regression" QA flagged is the deliberate UX trade-off the PR made for accessibility. The team needs to decide between:
I'd recommend looping in
rushatgabhane(PR author) and the design/a11y reviewers before reverting, since a plain revert undoes a VPAT compliance fix tracked in #77550.Investigation details
Symptom: Navigate to Account > Profile > Date of birth → field is auto-focused but the date picker does not auto-open. Same on expense-creation date fields. Reproducible on staging (9.4.6-0), not production — consistent with a recent merge.
Evidence chain:
melvin-botauto-assigned this deploy blocker to the merger of PR #92836.src/components/DatePicker/index.tsx.handleInputFocus/hasAutoOpenedRef(the auto-open-on-focus path) and replacesonFocuswithonKeyPress/onSubmitEditing, plus switchesrolefromPRESENTATIONtoCOMBOBOXwithaccessibilityState={{expanded}}— all classic combobox a11y patterns.Alternative explanations considered & ruled out: Not a race condition or measurement-timing bug —
openIntentRef/calculatePopoverPositiondeferral logic is unchanged and the input does focus correctly. The picker opens fine on click, confirming the open path itself works; only the focus-triggered auto-open was removed.Related: #77534 is the sibling a11y issue (dismiss-button announcement) from the same VPAT effort — relevant context if reverting.
Confidence: High — single-file PR, intent stated explicitly by the author, code matches symptoms exactly.
Next Steps for Contributor+ team:
To accept:
@MelvinBot implement [this](https://github.com/Expensify/App/issues/93356)to create a draft PR.To refine:
@MelvinBot <your feedback>To reject: Explain why you are rejecting Melvin's proposal.
mkhutornyi commentedon Jun 12, 2026
This is intentional. cc: @rushatgabhane
rushatgabhane commentedon Jun 12, 2026
yep, this is intentional