Skip to content
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

[HOLD for payment 2024-08-09] [$250] Android - Accounting-Confirm button doesn't work while keyboard is up #45193

Closed
1 of 6 tasks
lanitochka17 opened this issue Jul 10, 2024 · 26 comments
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Daily KSv2 Engineering External Added to denote the issue can be worked on by a contributor

Comments

@lanitochka17
Copy link

lanitochka17 commented Jul 10, 2024

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: 9.0.6-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:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by:
Slack conversation:

Issue found when executing PR #44921

Action Performed:

Pre-requisite

  • Collect workspace with accounting enabled
  • NetSuite beta enabled for the user. (Use expensifail account)
  • Setup NetSuite in OldDot
  1. Open the app with the pre-setup workspace
  2. Go to Accounting
  3. Tap on the Advanced button
  4. Tap on Reimbursable expense option (Enable Custom form ID to access this field)
  5. Tap inside the input field and type something
  6. Tap on Confirm
  7. Do step 5 and 6 for Non-reimbursable expense option as well

Expected Result:

Confirm button saves the input value regardless of the keyboard open state

Actual Result:

Confirm button doesn't work while the soft keyboard is in open state

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

Bug6538085_1720627955595.Screen_Recording_20240710_190649_New_Expensify.mp4

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~01223454e1811195b9
  • Upwork Job ID: 1811119420448681401
  • Last Price Increase: 2024-07-10
  • Automatic offers:
    • hoangzinh | Reviewer | 103068524
    • shubham1206agra | Reviewer | 103068526
Issue OwnerCurrent Issue Owner: @hoangzinh
@lanitochka17 lanitochka17 added DeployBlockerCash This issue or pull request should block deployment DeployBlocker Indicates it should block deploying the API labels Jul 10, 2024
Copy link

melvin-bot bot commented Jul 10, 2024

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

Copy link
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.

@lanitochka17
Copy link
Author

@luacmartins 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

@luacmartins
Copy link
Contributor

Seems to come from #44921

@luacmartins
Copy link
Contributor

I don't think this needs to be a blocker since the button still works, just not when the virtual keyboard is active. Tagging the author and reviewers of the original PR to investigate this issue @shubham1206agra @mananjadhav @yuwenmemon

@luacmartins luacmartins added Daily KSv2 External Added to denote the issue can be worked on by a contributor and removed DeployBlockerCash This issue or pull request should block deployment DeployBlocker Indicates it should block deploying the API Hourly KSv2 labels Jul 10, 2024
@melvin-bot melvin-bot bot changed the title Android - Accounting-Confirm button doesn't work while keyboard is up [$250] Android - Accounting-Confirm button doesn't work while keyboard is up Jul 10, 2024
Copy link

melvin-bot bot commented Jul 10, 2024

Job added to Upwork: https://www.upwork.com/jobs/~01223454e1811195b9

@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Jul 10, 2024
Copy link

melvin-bot bot commented Jul 10, 2024

Triggered auto assignment to Contributor-plus team member for initial proposal review - @hoangzinh (External)

@mananjadhav
Copy link
Collaborator

@shubham1206agra and I will take care of this. You can assign this to us. Also this is behind beta so not a deploy blocker.

cc - @yuwenmemon

@melvin-bot melvin-bot bot removed the Help Wanted Apply this label when an issue is open to proposals by contributors label Jul 10, 2024
Copy link

melvin-bot bot commented Jul 10, 2024

📣 @hoangzinh 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app!

Offer link
Upwork job

@luacmartins
Copy link
Contributor

Done!

@luacmartins
Copy link
Contributor

@shubham1206agra is there something blocking the view and thus the press? Maybe there's an invisible element there.

@shubham1206agra
Copy link
Contributor

@shubham1206agra is there something blocking the view and thus the press? Maybe there's an invisible element there.

@luacmartins I don't think that's the case here, as I tried the same on mWeb, and it seems to work fine.

@luacmartins
Copy link
Contributor

hmm then it seems to be an issue with RN itself. Maybe strict mode?

@shubham1206agra
Copy link
Contributor

The problem is that it doesn't happen anywhere else.

@luacmartins
Copy link
Contributor

hmm then maybe it is a problem with the new code 😄

@kabeer95
Copy link

Issue Report: Accounting - Confirm Button Not Functional with Keyboard Open on Expensify

Summary:

The "Confirm" button in the Accounting section of Expensify is not responding to clicks when the keyboard is open on mobile devices. This issue hinders users from completing the accounting process, leading to frustration and potential errors.

Reproduction Steps:

Open Expensify on a mobile device.
Navigate to the Accounting section.
Open the keyboard to enter or edit accounting information.
Attempt to click the "Confirm" button while the keyboard is still open.
Expected Result:

The "Confirm" button should respond to clicks and complete the accounting process.

Actual Result:

The "Confirm" button does not respond to clicks, and the accounting process cannot be completed.

Proposed Solution:

To resolve this issue, we recommend implementing one of the following solutions:

Disable keyboard when clicking the Confirm button: Automatically close the keyboard when the user clicks the "Confirm" button, ensuring the button is clickable.
Make the Confirm button keyboard-agnostic: Modify the button's functionality to work independently of the keyboard state, allowing users to click the button even when the keyboard is open.
Estimated Development Time:

We estimate 30 hours to implement the chosen solution and resolve this issue.

Benefits:

Resolving this issue will improve the overall user experience, reduce frustration, and increase the efficiency of the accounting process on Expensify.

Please let us know if you would like to discuss this issue further or proceed with the proposed solution.

@melvin-bot melvin-bot bot added the Overdue label Jul 19, 2024
@cdOut
Copy link
Contributor

cdOut commented Jul 25, 2024

Hi, I'm Tymoteusz from Software Mansion, the expert agency, and I'll be working on this issue.

@cdOut
Copy link
Contributor

cdOut commented Jul 29, 2024

Turns out to be a very simple fix. The keyboard doesn't act correctly if the wrapper ConnectionLayout has the attribute shouldUseScrollView set to true. This seems like it has been a simple overlook while implementing the NetSuiteCustomFormIDPage.

I've set the attribute to false since this page does not require it, and it works properly now.

@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Weekly KSv2 labels Aug 2, 2024
@melvin-bot melvin-bot bot changed the title [$250] Android - Accounting-Confirm button doesn't work while keyboard is up [HOLD for payment 2024-08-09] [$250] Android - Accounting-Confirm button doesn't work while keyboard is up Aug 2, 2024
Copy link

melvin-bot bot commented Aug 2, 2024

Reviewing label has been removed, please complete the "BugZero Checklist".

@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Aug 2, 2024
Copy link

melvin-bot bot commented Aug 2, 2024

The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.15-9 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-09. 🎊

For reference, here are some details about the assignees on this issue:

@shubham1206agra
Copy link
Contributor

No payment required here.

@melvin-bot melvin-bot bot added Daily KSv2 and removed Weekly KSv2 labels Aug 8, 2024
Copy link

melvin-bot bot commented Aug 9, 2024

Issue is ready for payment but no BZ is assigned. @dylanexpensify you are the lucky winner! Please verify the payment summary looks correct and complete the checklist. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Daily KSv2 Engineering External Added to denote the issue can be worked on by a contributor
Projects
None yet
Development

No branches or pull requests

10 participants