-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
[$125] Request money - The 'Enter' key fails to select the email/workspace/phone when requesting money. #34239
Comments
👋 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:
|
Triggered auto assignment to @youssef-lr ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.Can't select a participant with the enter key. What is the root cause of that problem?This is a regression from #31354. When we select a participant, we return early if the screen is not focused. App/src/components/OptionsSelector/BaseOptionsSelector.js Lines 335 to 341 in 55746c7
and updated true inside the App/src/components/OptionsSelector/BaseOptionsSelector.js Lines 102 to 117 in 55746c7
What changes do you think we should make in order to solve the problem?We can set the initial value of
|
|
I think this can be demoted. |
Triggered auto assignment to @johncschuster ( |
Current assignee @johncschuster is eligible for the Bug assigner, not assigning anyone new. |
@youssef-lr should I raise the PR now? |
@hurali97 can you please check this? |
@bernhardoj I have reverted that PR locally and the enter still does not work |
@mountiny I tried switching to the commit before the PR and somehow it still didn't work, but after another refresh, the issue is gone. |
interesting, we are reverting it so you can confirm then, thank you! |
Interesting. I am not able to reproduce this bug on main but instead enter key doesn't work on amount input page. Screen.Recording.2024-01-11.at.12.11.48.AM.mov |
Oh I was testing the amount page before, that was not fixed with the revert |
Seems like the revert introduced this bug as not happening on staging 😄 |
Yeah I can't reproduce the original issue, but the |
👋 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:
|
Actually, I can only reproduce locally, but not on staging. |
yes, this will become deploy blocker on next deploy 😄 |
The enter doesn't work on the amount page is a regression from #33055 The root cause is similar to the previous issue. The App/src/components/Button/index.tsx Lines 153 to 164 in 7517d74
Even if the ref is updated, the config memo is never re-calculated. It's better to use But after fixing this, you will notice that pressing enter will show an invalid amount error and that is because the shortcut callback here is never recreated when App/src/components/Button/index.tsx Lines 142 to 151 in 7517d74
The App/src/pages/iou/steps/MoneyRequestAmountForm.js Lines 229 to 233 in 7517d74
which will check the currentAmount state, but it's always empty when executed inside the shortcut callback.
So, we should add |
@bernhardoj Thanks for pin pointing the issue, I have raised a PR fixing this 👍 |
If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results. If a regression has occurred and you are the assigned CM follow the instructions here. If this regression could have been avoided please consider also proposing a recommendation to the PR checklist so that we can avoid it in the future. |
If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results. If a regression has occurred and you are the assigned CM follow the instructions here. If this regression could have been avoided please consider also proposing a recommendation to the PR checklist so that we can avoid it in the future. |
Issue not reproducible during KI retests. (First week) |
This issue has not been updated in over 15 days. @johncschuster, @youssef-lr, @bernhardoj eroding to Monthly issue. P.S. Is everyone reading this sure this is really a near-term priority? Be brave: if you disagree, go ahead and close it out. If someone disagrees, they'll reopen it, and if they don't: one less thing to do! |
Issue not reproducible during KI retests. (Second week) |
This was fixed. |
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: 1.4.24-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: Applause - Internal Team
Slack conversation:
Action Performed:
Expected Result:
The 'Enter' key should successfully select the email during the request for money
Actual Result:
The 'Enter' key does not select the email as intended during the request for money
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6337734_1704896732715.Screen_Recording_2024-01-10_at_5.12.27_AM.mp4
View all open jobs on GitHub
The text was updated successfully, but these errors were encountered: