Skip to content

[HOLD #23088 Safari-only]Assign Task - Pasting a long text repeatedly when creating a task leads to trailing space which can't be edited #26049

Description

@lanitochka17

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


Action Performed:

  1. Open a chat screen.
  2. Click on "Assign Task."
  3. Start pasting a long bunch of text repeatedly until you see some white space
  4. Notice that the input starts replacing the text with white space
  5. Click on "Next." You will probably notice that the title only shows the white space with three dots "..."
  6. Click "Confirm Task."
  7. Try to edit the title
  8. It's almost impossible to delete the white space

Expected Result:

  1. After pasting a long bunch of text repeatedly, the input field should handle the input correctly without introducing any trailing white space
  2. When clicking on "Next," the title should display the entered text without any issues, and the text should be fully visible
  3. When confirming the task, the title should be correctly saved without any unintended white space
  4. When trying to edit the title, you should be able to modify the text without encountering any issues related to trailing white space
  5. Deleting white space within the title field should be easy and responsive

Actual Result:

The long text when pasted repeatedly the trailing white space is generated

Workaround:

Unknown

Platforms:

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

  • Android / native
  • Android / Chrome
  • iOS / native
  • iOS / Safari
  • MacOS / Chrome / Safari
  • MacOS / Desktop

Version Number: 1.3.57-5

Reproducible in staging?: Yes

Reproducible in production?: Yes

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

Notes/Photos/Videos: Any additional supporting documentation

Screen.Recording.2023-08-19.at.18.17.13.mov
Recording.6025.mp4

Expensify/Expensify Issue URL:

Issue reported by: @brianmuks

Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1692464943500109

View all open jobs on GitHub

Metadata

Metadata

Labels

BugSomething is broken. Auto assigns a BugZero manager.WeeklyKSv2

Type

No type

Fields

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