Skip to content

[HOLD for payment 2021-12-06] iOS - Edit comment - Buttons are not aligned with keyboard and look cut off  #6204

Closed

Description

@isagoico

If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!


Action Performed:

  1. Navigate to a conversation (make sure is with a user that shows the time zone message above compose box)
  2. Long press on a message
  3. Check the "Cancel" and "Save changes" buttons
  4. Press on cancel
  5. Check the message

Expected Result:

Buttons are fully displayed and not overlapping with the keyboard

Actual Result:

Buttons are being overlapped with the keyboard making them look cut off. After the user presses on cancel, the message looks cut off too.

Workaround:

Scrolling fixes the issue.

Platform:

Where is this issue occurring?

  • iOS

Version Number: 1.1.12-4

Reproducible in staging?: Yes
Reproducible in production?: Yes

Logs: https://stackoverflow.com/c/expensify/questions/4856

Notes/Photos/Videos: Any additional supporting documentation

Note: If the conversation does not have the time zone message the issue is not reproducible.

Image.from.iOS.7.MP4

Expensify/Expensify Issue URL:

Issue reported by: @rafecolton
Slack conversation: https://expensify.slack.com/archives/C01GTK53T8Q/p1635959132427000

View all open jobs on GitHub

Activity

  1. MelvinBot commented on Nov 4, 2021

    @MelvinBot
    Contributor

    Triggered auto assignment to @alex-mechler (Engineering), see https://stackoverflow.com/c/expensify/questions/4319 for more details.

  2. alex-mechler commented on Nov 4, 2021

    @alex-mechler
    Contributor

    Looks good to be an external issue! Thanks for the video!

  3. removed their assignment
    on Nov 4, 2021
  4. added
    External
    on Nov 4, 2021
  5. MelvinBot commented on Nov 4, 2021

    @MelvinBot
    Contributor

    Triggered auto assignment to @SofiedeVreese (External), see https://stackoverflow.com/c/expensify/questions/8582 for more details.

  6. parasharrajat commented on Nov 4, 2021

    @parasharrajat
    Member

    Proposal

    1. This issue arises as the Chat message list is -16px hidden behind the time row. You can call this my fault as I added this design. The motive behind using the -16px margin to the composer was that we can reduce the gap between the composer and chat list without creating an empty space when there is no timezone visible.
    No time with time
    image image

    See that in the no time image, there is no while gap between composer and chat list.

    But now we know that it has an issue so we have to adopt another approach.

    The solution is simple reduce the bottom padding on the chat list when the time row is visible and remove this negative margin.

    To do this:

    1. I will take the shouldShowReportRecipientLocalTime variable to the parent ReportScreen and thus manage padding on the chatlist (ReportActionsView.js).
      const shouldShowReportRecipientLocalTime = !hasExpensifyEmails(reportParticipants)

    There is no extra overhead of subscribing to Onyx keys as report data is already available on ReportScreen.

    Now using this as a prop can I remove the bottom padding from the FlatList in ReportActionsView when time row is visible.

  7. SofiedeVreese commented on Nov 5, 2021

    @SofiedeVreese
    Contributor

    Posted on Upwork: https://www.upwork.com/jobs/~01b66f3b916dc3179f

    Adding Exported label.

  8. added
    Weekly
    Help Wanted
    on Nov 5, 2021
  9. 6 remaining items

  10. SofiedeVreese commented on Nov 7, 2021

    @SofiedeVreese
    Contributor

    Ok I've hired you in Upwork @parasharrajat !

  11. SofiedeVreese commented on Nov 16, 2021

    @SofiedeVreese
    Contributor

    Not overdue Melvin, we have a merged PR. QA ongoing so not deployed yet.

  12. SofiedeVreese commented on Nov 19, 2021

    @SofiedeVreese
    Contributor

    PR merged, waiting for deploy so I can add the payment hold.

  13. timszot commented on Nov 23, 2021

    @timszot

    Unassigning myself as I'm going OOO next week and this is merged and waiting for deploy.

  14. removed their assignment
    on Nov 23, 2021
  15. added
    Weekly
    Awaiting Payment
    and removed
    Weekly
    on Nov 29, 2021
  16. botify commented on Nov 29, 2021

    @botify

    The solution for this issue has been 🚀 deployed to production 🚀 in version 1.1.16-10 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 2021-12-06. 🎊

  17. changed the title [-]iOS - Edit comment - Buttons are not aligned with keyboard and look cut off [/-] [+][HOLD for payment 2021-12-06] iOS - Edit comment - Buttons are not aligned with keyboard and look cut off [/+] on Nov 29, 2021
  18. parasharrajat commented on Dec 6, 2021

    @parasharrajat
    Member

    Ping for
    image

    @SofiedeVreese

    Information for your reference
    1. This issue was held for Company Offsite Hold Remove Negative margin to fix the cropped action buttons #6249 (comment)
  19. SofiedeVreese commented on Dec 6, 2021

    @SofiedeVreese
    Contributor

    @parasharrajat no need for the ping, the payment is due today and in my calendar so I don't forget.

    This is now paid together with the company offsite bonus.

    Contributor paid: ✅
    Contract cancelled: ✅
    Upwork posting removed: ✅

    Closing GH.

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

Metadata

Metadata

Labels

Awaiting PaymentEngineeringExternalWeekly

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions