Skip to content

[Due for payment 2025-09-04] Draft messages sometimes lose characters inserted after a newline #69196

@chuckdries

Description

@chuckdries

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.1.98-10
Reproducible in staging?: y
Reproducible in production?: n
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: @chuckdries @tgolen
Slack conversation (hyperlinked to channel name): #quality

Action Performed:

  1. Open the network panel in devtools and apply a network throttle (not strictly necessary, but makes repro easier)
  2. start typing a message in a chat
  3. pause for about a second, until you see SaveReportDraftComment in the network panel
  4. quickly insert a newline and start typing again

Expected Result:

Newline and characters after it remain in chat like normal

Actual Result:

Newline and perhaps some of the characters will be deleted

Workaround:

Wait longer every time you type a message

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

macOS Chrome
draft.syncing.newline.issue.mp4

View all open jobs on GitHub

Issue OwnerCurrent Issue Owner: @CortneyOfstad

Metadata

Metadata

Labels

Awaiting PaymentAuto-added when associated PR is deployed to productionBugSomething is broken. Auto assigns a BugZero manager.EngineeringWeeklyKSv2

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions