Skip to content

[$250] Chat - cursor isn't moved to the end of the pasted text while context menu is open #43717

Closed

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!


Version Number: 1.4.83-0
Reproducible in staging?: Y
Reproducible in production?: N
If this was caught during regression testing, add the test name, ID and link from TestRail: N/A
Issue reported by: Applause - Internal Team

Action Performed:

  1. Go to staging.new.expensify.com
  2. Go to any chat
  3. Right click on any message
  4. Click Copy to clipboard
  5. Right click on any message to open context menu
  6. Paste the content via CMD+V while the context menu is open

Expected Result:

Cursor is moved to the end of the pasted text.

Actual Result:
Cursor isn't moved to the end of the pasted text.

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

Bug6512205_1718297719132.20240614_005446.mp4

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~010f78034d91b41a47
  • Upwork Job ID: 1801618050114782266
  • Last Price Increase: 2024-06-21
Issue OwnerCurrent Issue Owner: @ishpaul777

Activity

  1. added
    DeployBlockerCash
    DeployBlocker
    on Jun 13, 2024
  2. melvin-bot commented on Jun 13, 2024

    @melvin-bot

    Triggered auto assignment to @carlosmiceli (DeployBlockerCash), see https://stackoverflowteams.com/c/expensify/questions/9980/ for more details.

  3. github-actions commented on Jun 13, 2024

    @github-actions
    Contributor

    👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:

    1. Identify the pull request that introduced this issue and revert it.
    2. Find someone who can quickly fix the issue.
    3. Fix the issue yourself.
  4. lanitochka17 commented on Jun 13, 2024

    @lanitochka17
    Author

    @carlosmiceli FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors

  5. lanitochka17 commented on Jun 13, 2024

    @lanitochka17
    Author

    We think that this bug might be related to #vip-vsp

  6. removed
    DeployBlocker
    on Jun 13, 2024
  7. carlosmiceli commented on Jun 13, 2024

    @carlosmiceli
    Contributor

    I think this is the PR that we need to fix/revert: https://github.com/Expensify/App/pull/39520/files cc @jnowakow @adamgrzybowski @fedirjh @roryabraham anyone knows what the issue may be and can fix it? There's a lot of code in that PR so ideally someone with more context can take this.

  8. carlosmiceli commented on Jun 13, 2024

    @carlosmiceli
    Contributor

    Ok, will jump in.

  9. carlosmiceli commented on Jun 13, 2024

    @carlosmiceli
    Contributor

    Haven't been able to figure this one out yet (very unfamiliar with these components and logic) and I have to leave. @jnowakow @adamgrzybowski @fedirjh @roryabraham please jump in if you see this and it's still blocking, thank you! 🙏

  10. jnowakow commented on Jun 14, 2024

    @jnowakow
    Contributor

    @lanitochka17 it seems that this PR partially solves the problem. There's a problem that the cursor doesn't move to the end of the copied text but it may be problem with Composer.

    opened-menu.mov
    copy-and-paste.mov

    I don't know if this is a big problem. I checked all messengers that I had access to and none of them is allowing to paste text while context menu is open. Here is example from slack:

    slack-example.mov
  11. carlosmiceli commented on Jun 14, 2024

    @carlosmiceli
    Contributor

    @jnowakow Thank you! The thing is that in production it is possible to paste while context menu is open, so there should be something else that must be changed... Did you test it in main prior to your PR?

  12. 15 remaining items

  13. BartoszGrajdek commented on Jun 18, 2024

    @BartoszGrajdek
    Contributor

    I believe the cursor positioning could be related to the same root cause as this one: #42216

  14. changed the title [-][$250] Chat - Unable to paste content via CMD+V while context menu is open[/-] [+][$250] Chat - cursor isn't moved to the end of the pasted text while context menu is open[/+] on Jun 19, 2024
  15. melvin-bot commented on Jun 20, 2024

    @melvin-bot

    @carlosmiceli, @ishpaul777 Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!

  16. ishpaul777 commented on Jun 20, 2024

    @ishpaul777
    Contributor

    Waiting for proposals

  17. melvin-bot commented on Jun 21, 2024

    @melvin-bot

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

  18. ishpaul777 commented on Jun 25, 2024

    @ishpaul777
    Contributor

    Issue is no longer producable.

    Screen.Recording.2024-06-25.at.11.46.12.PM.mov
  19. carlosmiceli commented on Jun 25, 2024

    @carlosmiceli
    Contributor

    @ishpaul777 Gotcha, is it ok to go ahead and close it then or is there something else that should be done in terms of contributor compensation?

  20. ishpaul777 commented on Jun 25, 2024

    @ishpaul777
    Contributor

    Its ok to close, no contributor was hired and there was not much work as c+ for me. 😄

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

Metadata

Metadata

Labels

DailyEngineeringExternalHelp Wanted

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions