Skip to content

Any whitespace should be trimmed from these places to avoid bugs #4155

@aman-atg

Description

@aman-atg

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:

Places where extra whitespace is causing trouble :-

Search Page

  1. search for an email
  2. add extra space
  3. result will disappear

image

Profile Page

  1. Go to profile Page
  2. Edit Firstname and Lastname
  3. Add extra space
  4. Save
  5. Input will be saved as it is. (without trimming the space)

image

Emoji Picker

  1. Login to E.cash
  2. Open any chat
  3. Click the emoji picker
  4. Search for an emoji and add whitespace before or after the search term (Eg. thinking )

Expected Result:

image

Actual Result:

image

Workaround:

Remove whitespace manually

Platform:

Where is this issue occurring?

Web ✔️
iOS ✔️
Android ✔️
Desktop App ✔️
Mobile Web ✔️

Version Number:
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
Expensify/Expensify Issue URL:

View all open jobs on Upwork

Metadata

Metadata

Labels

EngineeringExternalAdded to denote the issue can be worked on by a contributorWeeklyKSv2

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions