Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[$500] mWeb/Safari - Chat - Cursor isn't seen in the input field when triggering edit mode #34512

Closed
1 of 6 tasks
lanitochka17 opened this issue Jan 15, 2024 · 13 comments
Closed
1 of 6 tasks
Assignees
Labels
Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 External Added to denote the issue can be worked on by a contributor Help Wanted Apply this label when an issue is open to proposals by contributors

Comments

@lanitochka17
Copy link

lanitochka17 commented Jan 15, 2024

If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!


Version Number: 1.4.25-1
Reproducible in staging?: Y
Reproducible in production?: Y
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: Applause - Internal Team
Slack conversation:

Issue found when executing PR #33365

Action Performed:

Scenario 1:

  1. Navigate to staging.new.expensify.com ? log in
  2. Navigate to any chat
  3. Send a message and start a thread
  4. Send additional messages
  5. Long tap on a message within the thread
  6. Select "Edit comment"

Scenario 2:

  1. Navigate to staging.new.expensify.com > log in
  2. Navigate to any chat
  3. Send a message
  4. Long tap on the sent message
  5. Select "Edit comment"

Expected Result:

Cursor should be visible in the input field as soon as edit mode is triggered

Actual Result:

Cursor isn't seen in the input field when triggering edit mode

Workaround:

Unknown

Platforms:

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

  • Android: Native
  • Android: mWeb Chrome
  • iOS: Native
  • iOS: mWeb Safari
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

Add any screenshot/video evidence

Bug6343108_1705334299103.Input_fied_with_no_cursor.mp4

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~01732e019ea63f840f
  • Upwork Job ID: 1746932216922673152
  • Last Price Increase: 2024-01-22
@lanitochka17 lanitochka17 added External Added to denote the issue can be worked on by a contributor Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels Jan 15, 2024
Copy link

melvin-bot bot commented Jan 15, 2024

Job added to Upwork: https://www.upwork.com/jobs/~01732e019ea63f840f

@melvin-bot melvin-bot bot changed the title mWeb/Safari - Chat - Cursor isn't seen in the input field when triggering edit mode [$500] mWeb/Safari - Chat - Cursor isn't seen in the input field when triggering edit mode Jan 15, 2024
Copy link

melvin-bot bot commented Jan 15, 2024

Triggered auto assignment to @twisterdotcom (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.

@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Jan 15, 2024
Copy link

melvin-bot bot commented Jan 15, 2024

Triggered auto assignment to Contributor-plus team member for initial proposal review - @alitoshmatov (External)

Copy link

melvin-bot bot commented Jan 15, 2024

📣 @itsspriyansh! 📣
Hey, it seems we don’t have your contributor details yet! You'll only have to do this once, and this is how we'll hire you on Upwork.
Please follow these steps:

  1. Make sure you've read and understood the contributing guidelines.
  2. Get the email address used to login to your Expensify account. If you don't already have an Expensify account, create one here. If you have multiple accounts (e.g. one for testing), please use your main account email.
  3. Get the link to your Upwork profile. It's necessary because we only pay via Upwork. You can access it by logging in, and then clicking on your name. It'll look like this. If you don't already have an account, sign up for one here.
  4. Copy the format below and paste it in a comment on this issue. Replace the placeholder text with your actual details.
    Screen Shot 2022-11-16 at 4 42 54 PM
    Format:
Contributor details
Your Expensify account email: <REPLACE EMAIL HERE>
Upwork Profile Link: <REPLACE LINK HERE>

@twisterdotcom
Copy link
Contributor

Downgrading to Weekly as not that important. It'll be good to fix though.

@twisterdotcom twisterdotcom added Weekly KSv2 and removed Daily KSv2 labels Jan 15, 2024
@allgandalf
Copy link
Contributor

allgandalf commented Jan 15, 2024

Proposal

Please re-state the problem that we are trying to solve in this issue.

Cursor isn't seen in the input field when triggering edit mode in mobile web browser (Android as well as iOS).

What is the root cause of that problem?

In Composer The default value of autofocus prop is set to false:

function Composer(
{
value,
defaultValue,
maxLines = -1,
onKeyPress = () => {},
style,
shouldClear = false,
autoFocus = false,

What changes do you think we should make in order to solve the problem?

In order to override the default behavior, we simply need to pass the prop autofocus=true in ReportActionItemMessageEdit
(This is where the component is called to edit messages)

<Composer
     autoFocus = {true}, 

This will set the default behavior in Native android, iOS and web to autofocus on input field when user triggers edit mode

What alternative solutions did you explore? (Optional)

N/A

@melvin-bot melvin-bot bot added Daily KSv2 and removed Weekly KSv2 labels Jan 15, 2024
@Krishna2323
Copy link
Contributor

can't reproduce

@melvin-bot melvin-bot bot added the Overdue label Jan 18, 2024
@twisterdotcom
Copy link
Contributor

@Krishna2323 I can reproduce:

RPReplay_Final1705618724.MP4

@melvin-bot melvin-bot bot removed the Overdue label Jan 18, 2024
@Krishna2323
Copy link
Contributor

Maybe this happens only on physical devices because I tried on simulator.

@melvin-bot melvin-bot bot added the Overdue label Jan 22, 2024
@twisterdotcom
Copy link
Contributor

twisterdotcom commented Jan 22, 2024

This is still happening now. I'm going to downgrade, but I still think it'd be nice to have a fix here. If we don't get any proposals before this goes overdue again, I'll close until a real user reports it.

@melvin-bot melvin-bot bot removed the Overdue label Jan 22, 2024
@twisterdotcom twisterdotcom added Weekly KSv2 and removed Daily KSv2 labels Jan 22, 2024
Copy link

melvin-bot bot commented Jan 22, 2024

📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸

Copy link

melvin-bot bot commented Jan 29, 2024

@twisterdotcom @alitoshmatov this issue was created 2 weeks ago. Are we close to approving a proposal? If not, what's blocking us from getting this issue assigned? Don't hesitate to create a thread in #expensify-open-source to align faster in real time. Thanks!

@melvin-bot melvin-bot bot removed the Weekly KSv2 label Jan 29, 2024
@twisterdotcom
Copy link
Contributor

Okay, gonna close as we have no proposals and it's a very minor issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 External Added to denote the issue can be worked on by a contributor Help Wanted Apply this label when an issue is open to proposals by contributors
Projects
None yet
Development

No branches or pull requests

5 participants