-
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
[Due for payment 2025-02-28] [$250][Offline] Android - Workspace - Unresponsive confirm button and several WS created in offline mode #56696
Comments
Triggered auto assignment to @yuwenmemon ( |
Triggered auto assignment to @mallenexpensify ( |
💬 A slack conversation has been started in #expensify-open-source |
👋 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:
|
Not repro on prod screen-20250211-192539.mp4 |
This is pretty edge case so I'm not going to let it block the deploy and will switch it to External. |
Job added to Upwork: https://www.upwork.com/jobs/~021889380867822286138 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @parasharrajat ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.The submit button becomes unresponsive after coming back from the currency picker. This issue happens regardless of the network status. What is the root cause of that problem?When we submit the form, it will dismiss the keyboard first and wait until it finishes. App/src/components/Form/FormProvider.tsx Line 220 in 628a915
However, the keyboard is never dismissed even though we call App/src/utils/keyboard/index.ts Lines 21 to 26 in 628a915
If we look at how Why is it null? The Then, the currency picker input is focused, which sets Looking at the prod video, the keyboard doesn't show when coming back from the currency picker, which is why it's not reproducible. What changes do you think we should make in order to solve the problem?We need to blur the input first before opening the modal. To do that, we can add App/src/components/CurrencyPicker.tsx Lines 69 to 71 in 628a915
If we don't want the refocus, then we can simply use Keyboard.dismiss when pressing the currency field item What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?N/A |
Please re-state the problem that we are trying to solve in this issue.Android - Workspace - Unresponsive confirm button and several WS created in offline mode What is the root cause of that problem?The problem stems from how React Native handles input focus when a modal is opened. Here’s what happens step-by-step:
This behavior is likely caused by how Android modals run in a separate root view, preventing proper focus transitions between inputs and modals. What changes do you think we should make in order to solve the problem?To ensure correct focus handling, we need to blur the currently focused input before opening the modal.
App/src/components/CurrencyPicker.tsx Line 64 in 628a915
onPress={openPickerModal} const openPickerModal = () => { Why This Works?
What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?N/A Video:- screen-capture.webm |
@parasharrajat 👀 on proposals above plz |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
Looking at updated proposals. |
I think we can use the 🎀 👀 🎀 C+ reviewed |
Current assignee @yuwenmemon is eligible for the choreEngineerContributorManagement assigner, not assigning anyone new. |
PR is ready cc: @parasharrajat |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.1.3-4 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 2025-02-28. 🎊 For reference, here are some details about the assignees on this issue:
|
@parasharrajat @mallenexpensify @parasharrajat The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the BugZero Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button] |
Payment Summary
BugZero Checklist (@mallenexpensify)
|
BugZero Checklist:
Bug classificationSource of bug:
Where bug was reported:
Who reported the bug:
Regression Test ProposalTest:
Do we agree 👍 or 👎 |
Requested in ND. |
Contributor: @bernhardoj due $250 via NewDot Test case below, thx y'all! |
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.96-0
Reproducible in staging?: Yes
Reproducible in production?: No
If this was caught on HybridApp, is this reproducible on New Expensify Standalone?: Yes, repro on both
If this was caught during regression testing, add the test name, ID and link from TestRail: https://expensify.testrail.io/index.php?/tests/view/5583990&group_by=cases:section_id&group_order=asc&group_id=229067
Email or phone of affected tester (no customers): [email protected]
Issue reported by: Applause Internal Team
Component Workspace Settings
Action Performed:
Expected Result:
When creating a workspace while offline and changing default currency, the "Confirm" button should lead to the workspace creation on the first tap, and only one workspace should be created.
Actual Result:
When creating a workspace while offline and changing the default currency, the "Confirm" button has to be tapped several times until the workspace is created, and after this, several workspaces chats are displayed on LHN.
Opening those workspace chats, leads to error messages until only one workspace chat remains on LHN.
Workaround:
Unknown
Platforms:
Screenshots/Videos
Bug6739709_1739285350549.Confirm.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @mallenexpensifyThe text was updated successfully, but these errors were encountered: