-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Fix: for mWeb(ios safari) float button up for the screen when keyboard opens for the form input #23185
Conversation
@s77rt It is not a fixed footer so it will stay at the bottom after a form. Only the gap between the form and the button gets reduced with the maxHeight change which is convenient to the user for seeing the button on scroll after form. |
@Pujan92 On the home address page I can't find the button at all, even scrolling down, it just vanished 😅. On the close account page, that seems like a regression, I think we had an issue reported for that before, you can also see the header is not visible either. |
@s77rt Seems for scrolling content when we open keyboard for bottom inputs, somehow the View is not assigning correct maxHeight. Not sure yet about exactly what causes this issue. Simulator.Screen.Recording.-.iPhone.14.-.2023-07-20.at.18.32.30.mp4 |
@Pujan92 Yes, let's revert those pages |
Reverted. |
Reviewer Checklist
Screenshots/Videos |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! 🚀
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
🚀 Deployed to staging by https://github.com/Beamanator in version: 1.3.44-0 🚀
|
🚀 Deployed to production by https://github.com/marcaaron in version: 1.3.44-2 🚀
|
🚀 Deployed to staging by https://github.com/Beamanator in version: 1.3.45-0 🚀
|
🚀 Deployed to production by https://github.com/mountiny in version: 1.3.45-7 🚀
|
Details
Added
shouldEnableMaxHeight
prop to theScreenWrapper
component to float the Next/Save button up to get rid of extra empty space when keyboard gets opened(mWeb - ios safari).Fixed Issues
$ #22661
PROPOSAL: #22661 (comment)
Tests
For mWeb(safari), Verify the form submit button floats up for the below screens when the keyboard gets opened for any form input
Offline tests
For mWeb(safari), Verify the form submit button floats up for the below screens when the keyboard gets opened for any form input
QA Steps
For mWeb(safari), Verify the form submit button floats up for the below screens when the keyboard gets opened for any form input
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.src/languages/*
files and using the translation methodWaiting for Copy
label for a copy review on the original GH to get the correct copy.STYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)/** comment above it */
this
properly so there are no scoping issues (i.e. foronClick={this.submit}
the methodthis.submit
should be bound tothis
in the constructor)this
are necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);
ifthis.submit
is never passed to a component event handler likeonClick
)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)ScrollView
component to make it scrollable when more elements are added to the page.main
branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTest
steps.Screenshots/Videos
Web
Mobile Web - Chrome
Mobile Web - Safari
https://drive.google.com/file/d/1L4-_BHX9MHVxQhNnRApLDMFoB5pzGNpk/view?usp=sharing
Desktop
iOS
Android