Expensify / App

Welcome to New Expensify: a complete re-imagination of financial collaboration, centered around chat. Help us build the next generation of Expensify by sharing feedback and contributing to the code.
https://new.expensify.com
MIT License
3.35k stars 2.78k forks source link

mWeb - Deleted line break when pasting using phone's native shortcut #49814

Open lanitochka17 opened 2 hours ago

lanitochka17 commented 2 hours ago

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.0.40 Reproducible in staging?: Y Reproducible in production?: Y If this was caught during regression testing, add the test name, ID and link from TestRail: https://expensify.testrail.io/index.php?/tests/view/5007324 Issue reported by: Applause - Internal Team

Action Performed:

  1. Navigate to any conversation
  2. Send a message with multiple line breaks (at least 5 line breaks)
  3. Copy the message with multiple line breaks
  4. Paste the text in the compose box using phone's native shortcut

Expected Result:

The text is displayed correctly

Actual Result:

The first line break is deleted when I paste a multiline text using my phone's native shortcut

Workaround:

Unknown

Platforms:

Which of our officially supported platforms is this issue occurring on?

Screenshots/Videos

Add any screenshot/video evidence

https://github.com/user-attachments/assets/a13fad06-af44-4ed1-8dbc-98d7b3fd4bb2

View all open jobs on GitHub

melvin-bot[bot] commented 2 hours ago

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.