-
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
[Awaiting Payment 4th October] [$125] mWeb - Chat - While editing composer doesn't hide and the editing input doesn't get focused #48161
Comments
Triggered auto assignment to @youssef-lr ( |
Triggered auto assignment to @miljakljajic ( |
👋 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:
|
We think that this bug might be related to #wave-collect - Release 1 |
📣 @LC-JiaZhaorong! 📣
|
ProposalPlease re-state the problem that we are trying to solve in this issue.When editing a message, the main composer doesn't hide and the edit composer also doesn't have the green outline focus. What is the root cause of that problem?The focus on the composer happens too early before the modal is completely hidden. This is similar to #46095. When we press edit, we close the modal and wait it be hidden and finally set the draft message to be the current message. App/src/pages/home/report/ContextMenu/ContextMenuActions.tsx Lines 247 to 259 in 6697c26
When the draft message is available, we focus on the edit composer. App/src/pages/home/report/ReportActionItem.tsx Lines 272 to 278 in 6697c26
The As mentioned above, we start the focus once the draft is available. This issue happens after #47866 where they refactor the way we get the draft by directly getting it from In #46095 (comment), I explained why focusing too early before the modal is completely hidden causes the problem. In short, it's because the focus trap is still active. What changes do you think we should make in order to solve the problem?We need to apply the same solution as #46095 by using
|
@youssef-lr, @miljakljajic Huh... This is 4 days overdue. Who can take care of this? |
Hello @youssef-lr, sorry for the late response. I was focused on finishing Screen.Recording.2024-09-03.at.11.56.47.mov |
Not overdue - Waiting for more feedback from @Skalakid |
I can't test it on the dev build, since I can't see bug.movIt's hard for me to say if it's connected to the Live Markdown refactor changes. We've changed only the markdown structure that is inside the Live Markdown input component. The outside structure wasn't touched. It can be easily checked by changing the version of the |
@youssef-lr, @miljakljajic Eep! 4 days overdue now. Issues have feelings too... |
Finally, the bug with message editing has been fixed, and I could test it on the dev environment! I downgraded the version of the Also, I tested @bernhardoj's proposal and it fixes the issue really well |
@youssef-lr @Skalakid shall we move forward with @bernhardoj 's proposal then? |
Merging now! |
|
Sounds good! Updated. |
Payment summary as follows:
Paid Kevin, Bernhard will request. Closing! |
@trjExpensify I did not receive a $125 payment today from this issue 🤔 Note: I accepted the offer! 🙏 |
Hm.. but the contract has ended, and I don't have the option to pay it anymore. So wtf is that about? |
No idea what happened there. It doesn't show as being paid either. I'll send you another offer, but if you happen to get a rogue $125 show up - I'll trust your honesty to let me know. :) |
@trjExpensify Sure, I accepted the new contract and will let you know in case it comes twice 👍 |
Cool, paid! |
Requested in ND. |
$125 approved for @bernhardoj |
Not overdue, issue contributors were paid - waiting for issue closure. |
Closing! |
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: 9.0.25-10
Reproducible in staging?: Y
Reproducible in production?: N
Issue was found when executing this PR: #45150
Email or phone of affected tester (no customers): [email protected]
Issue reported by: Applause Internal Team
Action Performed:
Expected Result:
The compose box hides and the app focuses on the edit input field
Actual Result:
The composer box doesn't hide and both the compose box and the edit input are visible. The app sometimes doesn't focus on the edit input field after clicking on "Edit comment". If the app focuses on the edit input field then the cursor jumps at the start of the text.
Workaround:
Unknown
Platforms:
Screenshots/Videos
Bug6585078_1724838596672.Screen_Recording_20240828_124410_Chrome.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @trjExpensifyThe text was updated successfully, but these errors were encountered: