-
Notifications
You must be signed in to change notification settings - Fork 3k
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
[$250] Editing a comment: the cursor is jumping to the end of the message when we type in the middle of the text making it impossible to edit the text #54335
Comments
This has been labelled "Needs Reproduction". Follow the steps here: https://stackoverflowteams.com/c/expensify/questions/16989 |
Triggered auto assignment to @stephanieelliott ( |
Seems related to the grammar extension that they're using. |
I do have Grammarly installed |
Can you try without that? |
I dont know how to write without that |
I cannot reproduce it now even with it on, so I will keep monitoring if it happens again |
@mountiny @allroundexperts Able to reproduce this issue in production Recording.860.mp4 |
I think this is the same as this one |
Job added to Upwork: https://www.upwork.com/jobs/~021869733355861718010 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @ntdiary ( |
Based on QA this is reliably repro on new accounts https://expensify.slack.com/archives/C049HHMV9SM/p1734614105597379?thread_ts=1734531561.566439&cid=C049HHMV9SM |
Marking this as CRITICAL quality issue as it makes the UX really bad |
@mountiny, If this is urgent, please feel free to reassign another c+. :) |
Thanks! SWM will have a look in the mean time 🙌 |
Someone from SWM will take a look at this shortly cc @BartoszGrajdek @Skalakid |
I can take this as I have context on it already! |
Cannot reproduce this both on new.expensify.com and staging.new.expensify.com, both on Chrome and Safari on macOS. |
Are there any additional steps that we need to do to reproduce that? On which browser does it occur? |
This is the same issue with a better repro step (and I had a proposal there). |
@bernhardoj can you move the proposal over here? Seems like it has stalled in that issue |
ProposalPlease re-state the problem that we are trying to solve in this issue.The cursor is at the beginning of the message if we open the admins room from the workspace profile page. What is the root cause of that problem?The root cause of the issue is similar to #46095. This is caused by the active focus traps that prevents the focus event to be received by the composer. You can read more detail on that root cause here. The different thing in this issue is, we already pause the focus trap if the screen isn't focused.
In this case, the screen that has the active focus trap is the workspace full screen navigator. When we open the workspace profile share page, the workspace full screen navigator focus trap is paused. When we click the #admins room link, the RHP is closed and focus trap automatically unpause the previous focus trap, which is the workspace full screen navigator focus trap. What changes do you think we should make in order to solve the problem?We don't want the workspace full screen navigator focus trap to be unpaused when the RHP is closed because the screen is still blurred. We have 2 options. First, instead of pausing the focus trap when the screen is blurred, we can deactivate it. We can return App/src/components/FocusTrap/FocusTrapForScreen/index.web.tsx Lines 35 to 36 in 8981081
If the focus trap is deactivated, unpause doesn't do anything. Second, we can add a new option to the What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?N/A |
@allroundexperts, If you’re still available, please feel free to take it over. :D |
Yep, thank you. @mountiny can you assign this to me? |
How does the @bernhardoj proposal look like! @allroundexperts @tomekzaw @Skalakid |
@allroundexperts, @stephanieelliott, @mountiny Whoops! This issue is 2 days overdue. Let's get this updated quick! |
@bernhardoj's proposal looks good to me. I prefer going via the second route, but I am not sure if we want to wait too much. |
Thanks @bernhardoj Can you please work on the implementation? The Thanks! |
PR is ready cc: @allroundexperts I'll open the upstream PR later and link it on the App PR. Done |
Hey @bernhardoj cross posting @allroundexperts comment from the PR -- can you give an ETA on when you'll be able to address this? This is a critical bug, so we are trying to get it unblocked ASAP:
|
Hey @bernhardoj bump on the above ^^ |
Sorry, I was OOO, addressed the comment. |
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:
Reproducible in staging?: Needs Reproduction
Reproducible in production?: Needs Reproduction
If this was caught on HybridApp, is this reproducible on New Expensify Standalone?:
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: @mountiny @quinthar
Slack conversation (hyperlinked to channel name): expensify_bugs
Action Performed:
Expected Result:
User able to type where the cursor
Actual Result:
The cursor jumps to the end of the text after a first character
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Screen.Recording.2024-12-18.at.15.15.47.mov
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @ntdiaryThe text was updated successfully, but these errors were encountered: