Skip to content

[Due for payment 2025-11-17] [$250] Compose box loses focus when switching tabs, breaking keyboard shortcuts on return #72458

@m-natarajan

Description

@m-natarajan

If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!


Version Number: 9.2.29-5
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: @cead22
Slack conversation (hyperlinked to channel name): #Quality

Action Performed:

  1. Open a chat in NewDot
  2. Type some text in the compose box
  3. Switch to another browser tab
  4. Switch back to the NewDot tab
  5. Try pressing:
    CMD + A (select all text)
    CMD + LEFT or OPTION + LEFT (move cursor)

Expected Result:

Focus should return seamlessly to the compose box after switching tabs, Keyboard shortcuts should work immediately without needing to click in the box.

Actual Result:

Typing works automatically when returning, but the compose box isn’t truly focused, Keyboard shortcuts like CMD + A and cursor movement commands do not respond until the user manually clicks inside the compose box.

Workaround:

Unknown

Platforms:

Select the officially supported platforms where the issue was reproduced:

  • Android: App
  • Android: mWeb Chrome
  • iOS: App
  • iOS: mWeb Safari
  • iOS: mWeb Chrome
  • Windows: Chrome
  • MacOS: Chrome / Safari
  • MacOS: Desktop
Platforms Tested: On which of our officially supported platforms was this issue tested:
  • Android: App
  • Android: mWeb Chrome
  • iOS: App
  • iOS: mWeb Safari
  • iOS: mWeb Chrome
  • Windows: Chrome
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

Add any screenshot/video evidence
Recording.1754.mp4

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~021977812992564239872
  • Upwork Job ID: 1977812992564239872
  • Last Price Increase: 2025-10-13
Issue OwnerCurrent Issue Owner: @

Metadata

Metadata

Labels

Awaiting PaymentAuto-added when associated PR is deployed to productionBugSomething is broken. Auto assigns a BugZero manager.DailyKSv2ExternalAdded to denote the issue can be worked on by a contributor

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions