You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
mWeb - Payments - "Update paypal account" CTA is not floating and hidden by keypad #6622
EngineeringExternalAdded to denote the issue can be worked on by a contributorHelp WantedApply this label when an issue is open to proposals by contributorsWeeklyKSv2
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:
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
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
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).
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.
@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?
EngineeringExternalAdded to denote the issue can be worked on by a contributorHelp WantedApply this label when an issue is open to proposals by contributorsWeeklyKSv2
Activity
MelvinBot commentedon Dec 7, 2021
Triggered auto assignment to @flodnv (
Engineering), see https://stackoverflow.com/c/expensify/questions/4319 for more details.MelvinBot commentedon Dec 8, 2021
Triggered auto assignment to @adelekennedy (
External), see https://stackoverflow.com/c/expensify/questions/8582 for more details.MelvinBot commentedon Dec 10, 2021
@adelekennedy Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!
adelekennedy commentedon Dec 14, 2021
no idea what happened - this slipped off my radar
adelekennedy commentedon Dec 14, 2021
Internal - https://www.upwork.com/ab/applicants/1470564836840558592/job-details
External - https://www.upwork.com/jobs/~0174d8ccaab92bfd01
1 remaining item
MelvinBot commentedon Dec 14, 2021
Triggered auto assignment to @parasharrajat (
Exported)MelvinBot commentedon Dec 14, 2021
Triggered auto assignment to @Jag96 (
Exported), see https://stackoverflow.com/c/expensify/questions/7972 for more details.sharifhh commentedon Dec 16, 2021
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:

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
parasharrajat commentedon Dec 16, 2021
Can't do that.
Does not work for MWeb.
sharifhh commentedon Dec 16, 2021
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
parasharrajat commentedon Dec 28, 2021
@kavimuru Does the button float for other screens, like a profile page, etc? And was it working before?
parasharrajat commentedon Dec 30, 2021
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.
adelekennedy commentedon Dec 30, 2021
@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?
parasharrajat commentedon Dec 30, 2021
No, We should be good to just close this job.
Thanks.