Closed m-natarajan closed 3 months ago
Triggered auto assignment to @lschurr (Bug
), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.
@lschurr Issue reporter commented to assign this to him as he have context. I am not sure I can assign him or not, Can you please confirm?
The continue button is hidden behind the keyboard
we don't use ScreenWrapper in this component, we use KeyboardAvoidingView component but we don't pass correct props
In these places
I suggest to use ScreenWrapper on the outside and remove KeyboardAvoidingView
<ScreenWrapper
includeSafeAreaPaddingBottom={false}
shouldEnableMaxHeight
shouldEnableKeyboardAvoidingView
testID="BaseOnboardingWork">
BaseOnboardingWork
component, we use KeyboardAvoidingView
component but do not have maxHeight
style:https://github.com/Expensify/App/blob/7b558ef7fb9908223d899b54ad3d0156bc8fcb81/src/pages/OnboardingWork/BaseOnboardingWork.tsx#L81-L84 so when the keyboard is opening, the CTA button is still at the bottom of the screen.
maxHeight
style to the KeyboardAvoidingView
like we did in ScreenWrapper
component:In detail, we need to update: https://github.com/Expensify/App/blob/7b558ef7fb9908223d899b54ad3d0156bc8fcb81/src/pages/OnboardingWork/BaseOnboardingWork.tsx#L76-L84 to:
<KeyboardAvoidingView
style={[styles.h100, styles.dFlex, {maxHeight}, [styles.overflowAuto, styles.overscrollBehaviorContain]]}
behavior="padding"
>
<HeaderWithBackButton
shouldShowBackButton
progressBarPercentage={OPEN_WORK_PAGE_PURPOSES.includes(onboardingPurposeSelected ?? '') ? 50 : 75}
onBackButtonPress={Navigation.goBack}
/>
In the above changes, I swap the HeaderWithBackButton
and KeyboardAvoidingView
, then add style:
style={[styles.h100, styles.dFlex, {maxHeight}, [styles.overflowAuto, styles.overscrollBehaviorContain]]}
to the KeyboardAvoidingView
.
We can also apply the isAvoidingViewportScroll
check like we did in ScreenWrapper
:
https://github.com/Expensify/App/blob/dd96852320612fd5188c95e659fce3814150af82/src/components/ScreenWrapper.tsx#L259
Should fix the similar screen in onboarding steps.
@lschurr Issue reporter commented to assign this to him as he have context. I am not sure I can assign him or not, Can you please confirm?
@lschurr - Commenting for C+ assignment, Thank you
Job added to Upwork: https://www.upwork.com/jobs/~01ca1aa78c61096205
Triggered auto assignment to Contributor-plus team member for initial proposal review - @jayeshmangwani (External
)
Assigned to you @m-natarajan - Could you review the proposal?
@lschurr - Sorry but you've assigned @m-natarajan from Applause instead of me
π£ @rayane-djouah π An offer has been automatically sent to your Upwork account for the Contributor role π Thanks for contributing to the Expensify app!
Offer link Upwork job Please accept the offer and leave a comment on the Github issue letting us know when we can expect a PR to be ready for review π§βπ» Keep in mind: Code of Conduct | Contributing π
Oops! Sorry about that @rayane-djouah - good now.
@nkdengineer's proposal LGTM. It uses ScreenWrapper
as other pages of the app.
:ribbon::eyes::ribbon: C+ reviewed
Triggered auto assignment to @robertjchen, see https://stackoverflow.com/c/expensify/questions/7972 for more details.
Friendly Bump @robertjchen ^^
π to @nkdengineer 's proposal
π£ @nkdengineer π An offer has been automatically sent to your Upwork account for the Contributor role π Thanks for contributing to the Expensify app!
Offer link Upwork job Please accept the offer and leave a comment on the Github issue letting us know when we can expect a PR to be ready for review π§βπ» Keep in mind: Code of Conduct | Contributing π
Reviewing
label has been removed, please complete the "BugZero Checklist".
The solution for this issue has been :rocket: deployed to production :rocket: in version 9.0.12-0 and is now subject to a 7-day regression period :calendar:. Here is the list of pull requests that resolve this issue:
If no regressions arise, payment will be issued on 2024-08-02. :confetti_ball:
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:
This is not overdue. Payment date is tomorrow.
Payment summary:
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.5-5 Reproducible in staging?: Yes Reproducible in production?: Yes 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: @rayane-djouah Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1720471428343119
Action Performed:
Expected Result:
The continue button move to the top with the keyboard when opening it
Actual Result:
The continue button is hidden behind the keyboard
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
https://github.com/Expensify/App/assets/38435837/9ae6de2b-8b8b-424d-9ce9-6f2d4e00a4d0
https://github.com/Expensify/App/assets/38435837/1325fbcf-464c-40b2-b870-ac2c9689e3ef
Add any screenshot/video evidence
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @lschurr