-
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
[PAID] [$500] Keyboard focus is on the "close" button when uploading an attachment #43726
Comments
Triggered auto assignment to @CortneyOfstad ( |
Cannot reproduce in production release. |
ProposalPlease re-state the problem that we are trying to solve in this issue.Keyboard focus is on the "close" button when uploading an attachment What is the root cause of that problem?We introduce focusTrap in #39520 What changes do you think we should make in order to solve the problem?We can remove the new focusTrap and use react native web focusTrap in baseModal which is already there. So we only need to remove App/src/components/Modal/BaseModal.tsx Line 256 in e306af7
Another alternative solution is to include the attachment screen in: include the coresponding attachment modal screen in
|
Job added to Upwork: https://www.upwork.com/jobs/~01ab436ac7382c9793 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @rojiphil ( |
@CortneyOfstad Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
@rojiphil, @CortneyOfstad Whoops! This issue is 2 days overdue. Let's get this updated quick! |
Based on the OP test steps, I am unable to launch the |
@rojiphil I cannot reproduce it anymore, but I found another bug because of the new focusTrap in baseModal: Send an attachment -> edit a report action (keep the focus in compose edit) -> open the attachment -> press back browser back button. Notice the edit composer isn't highlighted. macos-web-d.mp4Maybe there are another bugs too. So my suggestion is, since baseModal (react-native-modal) already has focusTrap in it: We could remove the new focusTrap in baseModal. |
@tsa321 As the raised issue is completely different, it is best to raise it separately and go through the normal assignment process. You can raise this in the |
@CortneyOfstad I think we can close this issue as it is not reproduceable |
Sounds good — thanks @rojiphil! I was not able to reproduce again either! |
This is still happening on staging and production.
Expected behavior - image uploads Actual behaviour - nothing happens, you have to navigate to the send button and click. @CortneyOfstad , if you're unable to reproduce, please swap assignments with me. Thx |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
@rojiphil, @CortneyOfstad Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.11-5 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue: If no regressions arise, payment will be issued on 2024-08-01. 🎊 For reference, here are some details about the assignees on this issue:
|
BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
|
Triggered auto assignment to @strepanier03 ( |
@rojiphil / @suneox please complete the checklist as soon as you can so there is no delay in payment being issued! Thanks! @strepanier03 I am heading OoO so reassigning so there is no delay in issuing the payment tomorrow. Thank you! |
@rojiphil Could you please complete the checklist since you’re the reviewer for this issue? |
I'll check tomorrow for the checklist. I'm heading out soon. |
Test |
@strepanier03 @CortneyOfstad |
@rojiphil, @strepanier03, @CortneyOfstad, @suneox, @grgia Eep! 4 days overdue now. Issues have feelings too... |
Both contracts are paid and closed in Upwork. Thank you all! |
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: v1.4.83-0
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: @quinthar
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1718296177557209
Action Performed:
Expected Result:
Keyboard focus on "Send" button and image sent
Actual Result:
Keyboard focus on cancel button and pressing "enter" on keyboard cancels the upload
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Recording.211.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @CortneyOfstadThe text was updated successfully, but these errors were encountered: