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

Task - No bottom padding for Confirm task button #41100

Closed
3 of 6 tasks
lanitochka17 opened this issue Apr 26, 2024 · 11 comments
Closed
3 of 6 tasks

Task - No bottom padding for Confirm task button #41100

lanitochka17 opened this issue Apr 26, 2024 · 11 comments
Assignees
Labels
Bug Something is broken. Auto assigns a BugZero manager. Weekly KSv2

Comments

@lanitochka17
Copy link

lanitochka17 commented Apr 26, 2024

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.66-4
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail: N/A
Issue reported by: Applause - Internal Team

Action Performed:

  1. Go to https://staging.new.expensify.com/
    and log in
  2. Click on the FAB > Assign task
  3. Enter the name of the task and proceed to the next screen

Expected Result:

The bottom padding is present for the Confirm task button as for other buttons

Actual Result:

There is no bottom padding for the Confirm task button

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

Bug6462833_1714137910845.Recording__437.mp4

View all open jobs on GitHub

@lanitochka17 lanitochka17 added Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels Apr 26, 2024
Copy link

melvin-bot bot commented Apr 26, 2024

Triggered auto assignment to @garrettmknight (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.

@lanitochka17
Copy link
Author

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

@lanitochka17
Copy link
Author

We think that this bug might be related to #vip-vsp

@Krishna2323
Copy link
Contributor

Proposal

Please re-state the problem that we are trying to solve in this issue.

Task - No bottom padding for Confirm task button

What is the root cause of that problem?

There is no style applied to FormAlertWithSubmitButton for bottom padding/margin.

containerStyles={[styles.mh0, styles.mt5, styles.flex1, styles.ph5]}

What changes do you think we should make in order to solve the problem?

We need to add padding/margin bottom of styles.mb5 or as per the design. Margin can be applied to parent containers instead of FormAlertWithSubmitButton.

What alternative solutions did you explore? (Optional)

@dragnoir
Copy link
Contributor

dragnoir commented Apr 26, 2024

Proposal

Please re-state the problem that we are trying to solve in this issue.

Task - No bottom padding for Confirm task button

What is the root cause of that problem?

includeSafeAreaPaddingBottom missing here

<ScreenWrapper
shouldEnableKeyboardAvoidingView={false}
testID={NewTaskPage.displayName}
>

What changes do you think we should make in order to solve the problem?

On ScreenWrapper component we have this logic:

style={[style, safeAreaPaddingBottomStyle.paddingBottom ? safeAreaPaddingBottomStyle : styles.pb5]}

This add a styles.pb5 with the props includeSafeAreaPaddingBottom

Solution: we need to add includeSafeAreaPaddingBottom to ScreenWrapper here

<ScreenWrapper
            shouldEnableKeyboardAvoidingView={false}
            testID={NewTaskPage.displayName}
+          includeSafeAreaPaddingBottom
        >

@allgandalf
Copy link
Contributor

@luacmartins , another regression from that extra footer PR #38039. c.c. @lukemorawski

@melvin-bot melvin-bot bot added the Overdue label Apr 29, 2024
@garrettmknight
Copy link
Contributor

Holding for a fix in #36038

@melvin-bot melvin-bot bot removed the Overdue label Apr 29, 2024
@garrettmknight garrettmknight changed the title Task - No bottom padding for Confirm task button [HOLD on #36038] Task - No bottom padding for Confirm task button Apr 29, 2024
@garrettmknight garrettmknight added Weekly KSv2 and removed Daily KSv2 labels Apr 29, 2024
@melvin-bot melvin-bot bot added the Overdue label May 7, 2024
@garrettmknight
Copy link
Contributor

Adding #40827 to the HOLD

@melvin-bot melvin-bot bot removed the Overdue label May 9, 2024
@garrettmknight
Copy link
Contributor

Still holding

@luacmartins
Copy link
Contributor

PR has been merged and I think this should be fixed.

@luacmartins luacmartins changed the title [HOLD on #36038] Task - No bottom padding for Confirm task button Task - No bottom padding for Confirm task button May 14, 2024
@garrettmknight
Copy link
Contributor

All fixed!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something is broken. Auto assigns a BugZero manager. Weekly KSv2
Projects
No open projects
Development

No branches or pull requests

6 participants