Skip to content

mWeb - Payments - "Update paypal account" CTA is not floating and hidden by keypad #6622

Closed

Description

@kavimuru

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. Go to https://staging.new.expensify.com
  2. Log in with any account
  3. Go to Setting - Payments
  4. Choose PayPal.me
  5. Edit / PayPal user name field

Expected Result:

"Update PayPal account" CTA is floating above the keypad.

Actual Result:

"Update PayPal account" CTA is hidden under keypad

Workaround:

Unknown

Platform:

Where is this issue occurring?

  • Mobile Web

Version Number: 1.1.18

Reproducible in staging?: Yes

Reproducible in production?: Yes

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

Notes/Photos/Videos:

Bug5362581_Paypal_0712.mp4

Expensify/Expensify Issue URL:
Issue reported by: Applause

Slack conversation:

View all open jobs on GitHub

Activity

  1. MelvinBot commented on Dec 7, 2021

    @MelvinBot
    Contributor

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

  2. removed their assignment
    on Dec 8, 2021
  3. added
    External
    on Dec 8, 2021
  4. MelvinBot commented on Dec 8, 2021

    @MelvinBot
    Contributor

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

  5. MelvinBot commented on Dec 10, 2021

    @MelvinBot
    Contributor

    @adelekennedy Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!

  6. adelekennedy commented on Dec 14, 2021

    @adelekennedy
    Contributor

    no idea what happened - this slipped off my radar

  7. 1 remaining item

  8. MelvinBot commented on Dec 14, 2021

    @MelvinBot
    Contributor

    Triggered auto assignment to @parasharrajat (Exported)

  9. added
    Help Wanted
    on Dec 14, 2021
  10. MelvinBot commented on Dec 14, 2021

    @MelvinBot
    Contributor

    Triggered auto assignment to @Jag96 (Exported), see https://stackoverflow.com/c/expensify/questions/7972 for more details.

  11. sharifhh commented on Dec 16, 2021

    @sharifhh

    Well this KeyboardAvoidingView doesn't work in web.

    You have two options here I guess.
    Option One:
    Remove the flex from line 84 in AddPayPalMePage.js

    And the screen will be like this:
    Simulator Screen Shot - iPhone 13 Pro Max - 2021-12-16 at 18 34 21

    Option Two:
    Integrate a library or create a better implementation for KeyboardAvoidingView which adds a space as the size of the keyboard which pushes the whole screen up and change the flex size, you can check this library implementation for more info: https://www.npmjs.com/package/react-native-keyboard-spacer

  12. parasharrajat commented on Dec 16, 2021

    @parasharrajat
    Member

    Option One:
    Remove the flex from line 84 in AddPayPalMePage.js

    Can't do that.

    Integrate a library or create a better implementation for KeyboardAvoidingView which adds a space as the size of the keyboard which pushes the whole screen up and change the flex size, you can check this library implementation for more info: npmjs.com/package/react-native-keyboard-spacer

    Does not work for MWeb.

  13. sharifhh commented on Dec 16, 2021

    @sharifhh

    How about we use this code to check if this user is currently using an iOS web:

    const ua = window.navigator.userAgent; const iOS = !!ua.match(/iPad/i) || !!ua.match(/iPhone/i); const webkit = !!ua.match(/WebKit/i); const iOSSafari = iOS && webkit && !ua.match(/CriOS/i);

    And in that case, we can add padding to the bottom whenever the input is being focused which equals half of the screen minus the safe area if it exists (the same as you have in KeyboardSpacer implementation).

    It will be like this:

    Simulator.Screen.Recording.-.iPhone.13.Pro.Max.-.2021-12-16.at.23.41.06.mp4
  14. parasharrajat commented on Dec 28, 2021

    @parasharrajat
    Member

    @kavimuru Does the button float for other screens, like a profile page, etc? And was it working before?

  15. parasharrajat commented on Dec 30, 2021

    @parasharrajat
    Member

    I think we can close this issue. Mobile Safari does not work well with flexbox layout so it can't be fixed without hacks. This is working well for all platforms except Mobile Safari.

  16. adelekennedy commented on Dec 30, 2021

    @adelekennedy
    Contributor

    @parasharrajat in this case I don't think we have any reporting bonuses to pay out (Applause) are there any Upwork steps take before just closing out the job entirely?

  17. parasharrajat commented on Dec 30, 2021

    @parasharrajat
    Member

    No, We should be good to just close this job.

    1. No reporting bonus.
    2. No one is hired for this.

    Thanks.

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

Metadata

Metadata

Labels

EngineeringExternalHelp WantedWeekly

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions