Skip to content

[Awaiting checklist] [$250] mWeb/Chrome - Workspace - Invite button hidden behind keypad #50073

Closed

Description

@lanitochka17

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.43-1
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. Launch both mweb and Android
  2. Go to workspace -- invite members
  3. Go offline and note no internet connection above
  4. Select a member and tap next

Expected Result:

In mweb and Android, in offline inviting members, invite button should display in same way

Actual Result:

In mweb, invite button hidden behind keypad but in Android above keypad

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

Bug6622134_1727876595223.Screenrecorder-2024-10-02-19-02-53-462_compress_1.mp4

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~021841522414660630574
  • Upwork Job ID: 1841522414660630574
  • Last Price Increase: 2024-10-09
  • Automatic offers:
    • Nodebrute | Contributor | 104343060
Issue OwnerCurrent Issue Owner: @eh2077

Activity

  1. added
    BugSomething is broken. Auto assigns a BugZero manager.
    on Oct 2, 2024
  2. melvin-bot commented on Oct 2, 2024

    @melvin-bot

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

  3. lanitochka17 commented on Oct 2, 2024

    @lanitochka17
    Author

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

  4. Nodebrute commented on Oct 2, 2024

    @Nodebrute
    Contributor

    Edited by proposal-police: This proposal was edited at 2024-10-02 15:35:19 UTC.

    Proposal

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

    Invite button hidden behind keypad

    What is the root cause of that problem?

    We are not adding shouldEnableMaxHeight

    <ScreenWrapper
    includeSafeAreaPaddingBottom={false}
    testID={WorkspaceInviteMessagePage.displayName}
    >

    because of which it is not using it's 100 height%

    Whether to use the maxHeight (true) or use the 100% of the height (false)
    

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

    We should add shouldEnableMaxHeight

    <ScreenWrapper
    includeSafeAreaPaddingBottom={false}
    testID={WorkspaceInviteMessagePage.displayName}
    >

    Screenshot 2024-10-02 at 8 33 30 PM
    We should check for other places too where we have this issue. Other minor styling can be adjusted in the PR.

    We have another issue here when we navigate from InviteMembersPage we can see that header is missing and there's a white space under the privacy. This is the only form page where we have this issue. To fix that we can use here

        const viewportOffsetTop = useViewportOffsetTop()
    

    And then we can pass it as styles in screenWrapper here. We are also doing the same here

                    style={{marginTop:viewportOffsetTop}}
    

    Before

    Screen.Recording.2024-10-02.at.11.37.17.PM.mov

    After

    Screen.Recording.2024-10-02.at.11.35.45.PM.mov

    What alternative solutions did you explore? (Optional)

    Or we can pass shouldEnableMaxHeight={DeviceCapabilities.canUseTouchScreen()}

    <ScreenWrapper
    includeSafeAreaPaddingBottom={false}
    testID={WorkspaceInviteMessagePage.displayName}
    >

    Optional: To fix extra padding under the form we can pass shouldEnableKeyboardAvoidingView={false} here

    <ScreenWrapper
    includeSafeAreaPaddingBottom={false}
    testID={WorkspaceInviteMessagePage.displayName}
    >

  5. Nodebrute commented on Oct 2, 2024

    @Nodebrute
    Contributor

    Proposal Updated
    Added alternate solution

  6. twisterdotcom commented on Oct 2, 2024

    @twisterdotcom
    Contributor

    This isn't a problem I can recreate. I'd wager this is just due to the keyboard being used.

    https://drive.google.com/file/d/1GPzlPbzYtM-eOsDgVXEyXGn3Io1YkOMF/view?usp=sharing

  7. Nodebrute commented on Oct 2, 2024

    @Nodebrute
    Contributor

    @twisterdotcom I am able to repro this on latest main and it's very visible

    Ios:mweb safari

    Screen.Recording.2024-10-02.at.9.39.18.PM.mov
  8. twisterdotcom commented on Oct 2, 2024

    @twisterdotcom
    Contributor

    Ahh @Nodebrute are you on iOS there? I didn't test that, it wasn't included in the report. Let me double check then.

  9. twisterdotcom commented on Oct 2, 2024

    @twisterdotcom
    Contributor
    trim.E4224B6E-3D85-4A84-89B7-5BAEA7462262.MOV
  10. twisterdotcom commented on Oct 2, 2024

    @twisterdotcom
    Contributor

    Okay agreed. This has nothing to do with being offline/online either though. It just occurs regardless. Not sure what all the bottom padding is for either when you scroll with the keyboard in view. Can we fix that too @Nodebrute?

  11. added
    ExternalAdded to denote the issue can be worked on by a contributor
    on Oct 2, 2024
  12. 27 remaining items

  13. changed the title [-][$250] mWeb/Chrome - Workspace - Invite button hidden behind keypad[/-] [+][HOLD for payment 2024-10-30] [$250] mWeb/Chrome - Workspace - Invite button hidden behind keypad[/+] on Oct 23, 2024
  14. melvin-bot commented on Oct 23, 2024

    @melvin-bot

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

  15. melvin-bot commented on Oct 23, 2024

    @melvin-bot

    The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.52-5 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-10-30. 🎊

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

  16. melvin-bot commented on Oct 23, 2024

    @melvin-bot

    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:

    • [@eh2077] The PR that introduced the bug has been identified. Link to the PR:
    • [@eh2077] The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake. Link to comment:
    • [@eh2077] A discussion in #expensify-bugs has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner. Link to discussion:
    • [@eh2077] Determine if we should create a regression test for this bug.
    • [@eh2077] If we decide to create a regression test for the bug, please propose the regression test steps to ensure the same bug will not reach production again.
    • [@twisterdotcom] Link the GH issue for creating/updating the regression test once above steps have been agreed upon:
  17. twisterdotcom commented on Oct 30, 2024

    @twisterdotcom
    Contributor

    Payment Summary:

  18. changed the title [-][HOLD for payment 2024-10-30] [$250] mWeb/Chrome - Workspace - Invite button hidden behind keypad[/-] [+][Awaiting checklist] [$250] mWeb/Chrome - Workspace - Invite button hidden behind keypad[/+] on Oct 30, 2024
  19. melvin-bot commented on Oct 30, 2024

    @melvin-bot

    @twisterdotcom @aldo-expensify @Nodebrute @eh2077 this issue is now 4 weeks old, please consider:

    • Finding a contributor to fix the bug
    • Closing the issue if BZ has been unable to add the issue to a VIP or Wave project
    • If you have any questions, don't hesitate to start a discussion in #expensify-open-source

    Thanks!

  20. eh2077 commented on Nov 4, 2024

    @eh2077
    Contributor

    Checklist

    • [@eh2077] The PR that introduced the bug has been identified. Link to the PR: After searching the commit histories, I don't think this is a bug introduced by a recent PR. It's more likely an edge case that was uncovered
    • [@eh2077] The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake. Link to comment: N/A
    • [@eh2077] A discussion in #expensify-bugs has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner. Link to discussion: N/A
    • [@eh2077] Determine if we should create a regression test for this bug. No, because it's a minor change of style and won't impact the main user flow.
  21. eh2077 commented on Nov 5, 2024

    @eh2077
    Contributor

    Requested payment in NewDot

  22. JmillsExpensify commented on Nov 5, 2024

    @JmillsExpensify
    Contributor

    $250 approved for @eh2077

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

BugSomething is broken. Auto assigns a BugZero manager.DailyKSv2ExternalAdded to denote the issue can be worked on by a contributor

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions