Skip to content

Typing a non-roman language and hitting enter sends text prematurely #15798

Description

@hayata-suenaga

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 NewDot on Laptop Chrome or Desktop App
  2. Open a chat room
  3. Type Japanese
    You can find information on how to enable Japanese keyboard (choose "Japanese - Romaji"). You probably see Japanese characters and English characters mixed up if you type randomly, but it's okay. Only thing that matters is that you're using the input mode for Japanese language.
    You can also try with Chinese ("Chinese, Simplified -> Pinyin - Simplified") or Korean ("2-Set Korean")
  4. Hit enter.

Expected Result:

When you hit enter, the text should not be sent immediately. With non-roman languages that require you to make selection, the first time you hit enter, the text should be selected, not sent.

Actual Result:

Test is send without selection, while the text entered remained on the text input box.

Workaround:

N/A

Platforms:

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

  • Android / native
  • Android / Chrome
  • iOS / native
  • iOS / Safari
  • MacOS / Chrome only
    On Safari, hitting enter doesn't leave the text in the input box, it still causes premature submission of the text message.
  • MacOS / Desktop

Version Number: v1.2.80-2
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-03-09.at.2.15.44.PM.mov

This is the behavior on Slack when I type Japanese

Screen.Recording.2023-03-09.at.2.21.38.PM.mov

Expensify/Expensify Issue URL:
Issue reported by: Internal engineer
Slack conversation:

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~01dda087fd8bec30ac
  • Upwork Job ID: 1636562209124208640
  • Last Price Increase: 2023-03-17

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

BugSomething is broken. Auto assigns a BugZero manager.DailyKSv2EngineeringImprovementItem broken or needs improvement.InternalRequires API changes or must be handled by Expensify staffReviewingHas a PR in review

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions