-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
[$500] Hold Request - Composer is focused while RHP is open #36829
Comments
Job added to Upwork: https://www.upwork.com/jobs/~01d88b69191153c8ff |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @rushatgabhane ( |
Triggered auto assignment to @dylanexpensify ( |
👋 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 @MonilBhavsar ( |
We think this bug might be related to #vip-bills |
is this severe enough to be deploy blocker? |
Agree, we can remove deploy blocker as it is not critical. |
ProposalPlease re-state the problem that we are trying to solve in this issue.The Git it button is not focused What is the root cause of that problem?On the 1st screen, "Hold Request", when the button "Hold Request" is clicked, there's an actiopn to turn back to the main request report screen, wish bring back focus to the "Write anything..' input App/src/pages/iou/HoldReasonPage.tsx Lines 42 to 49 in 0f372c2
The navigate back function turn to the main report screen and does not open the next "This request is on Hold" screen. What changes do you think we should make in order to solve the problem?When the screen "This request is on Hold" is opened we need to set the focus on the "Got it" button on src/pages/ProcessMoneyRequestHoldPage.tsx const submitBtn = useRef<View>(null);
useFocusEffect(
React.useCallback(() => {
if (!submitBtn.current) {
return;
}
submitBtn.current.focus();
}, []),
);
<Button
ref={submitBtn} POC: 20240220_101333.mp4 |
@rushatgabhane to review proposal! |
Should this be handled as regression as it coming from #33897 that was deployed last night? |
This issue is a duplicate of #36825 - after we fix the original issue this won't be a problem anymore |
Closing, to be handled in #36825 |
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: 1.4.43-0
Reproducible in staging?: y
Reproducible in production?: new feature
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:
Composer shouldn't be focused
Actual Result:
Composer is focused
Workaround:
unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6385216_1708393531198.adfafaf.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: