-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
handle visual viewport scroll incorrect on ios chrome #44999
handle visual viewport scroll incorrect on ios chrome #44999
Conversation
Reviewer Checklist
Screenshots/VideosAndroid: NativeN/A Android: mWeb ChromeN/A iOS: NativeN/A MacOS: Chrome / SafariN/A MacOS: DesktopN/A |
@suneox I found that the button of iOS Chrome is slightly covered by the keyboard when there's an error message below the input. iOS ChromeiOS Safari |
@eh2077 This issue occurs because on Chrome, the virtual viewport height is less than on Safari. We only handle adjustments when focusing, and we don’t have any code to adjust the view when showing/hiding an error. |
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.
Looks good and tested well!
I also agree the overlapping on iOS Chrome caused by error message should be out of scope for this PR.
✋ 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/thienlnam in version: 9.0.7-3 🚀
|
🚀 Cherry-picked to staging by https://github.com/thienlnam in version: 9.0.7-4 🚀
@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes. |
🚀 Deployed to production by https://github.com/thienlnam in version: 9.0.7-8 🚀
|
🚀 Deployed to production by https://github.com/mountiny in version: 9.0.8-6 🚀
|
Details
Fixed Issues
$ #44009
PROPOSAL: #44009 (comment)
Tests
Offline tests
QA Steps
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.src/languages/*
files and using the translation methodSTYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)Design
label and/or tagged@Expensify/design
so the design team can review the changes.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
iOS: mWeb Chrome
RPReplay_Final1720465195.MP4
iOS: mWeb Safari
RPReplay_Final1720465264.MP4
iOS: Native
Screen.Recording.2024-07-09.at.02.05.14.mov
Android: Native
screen-20240709-021421.mp4
Android: mWeb Chrome
screen-20240709-020848.mp4
MacOS: Chrome / Safari
Screen.Recording.2024-07-09.at.02.03.33.mov
MacOS: Desktop
Screen.Recording.2024-07-09.at.02.02.53.mov