-
Notifications
You must be signed in to change notification settings - Fork 3k
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 screen shaking when editing between 2 tabs #17899
Conversation
@aldo-expensify @s77rt One of you needs to copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
Reviewer Checklist
Screenshots/VideosWebweb.mp4Mobile Web - Chromemweb-chrome.mp4Mobile Web - Safarimweb-safari.mp4Desktopdesktop.mp4iOSios.mp4Androidandroid.mp4 |
@hungvu193 Please update the PR body to use the latest PR Author Checklist. Also please check the missing video for mWeb - Safari. |
@s77rt my bad, just updated! 😄 |
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! 🚀
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.
Works well for me.
Note: if you go to an invalid route and come back, the edit composer resizes to 1 line, but this is something that also happens in main
and was noticed in the original implementation: #15296 (comment)
Screen.Recording.2023-04-25.at.11.11.31.AM.mov
🚀 Deployed to staging by https://github.com/aldo-expensify in version: 1.3.5-4 🚀
|
🚀 Deployed to production by https://github.com/jasperhuangg in version: 1.3.5-6 🚀
|
Details
Fix: Screen is shaking when scrolling while user edit a comment between 2 tabs.
Fixed Issues
$ #16931
PROPOSAL: #16931 (comment)
Tests
Offline tests
Bug is related to offline mode itself. No extra steps needed.
QA Steps
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)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
Web
shaking.mov
Mobile Web - Chrome
Screen.Recording.2023-04-24.at.23.35.16.mov
Mobile Web - Safari
Screen.Recording.2023-04-25.at.09.24.56.mov
Desktop
Screen.Recording.2023-04-24.at.23.07.55.mov
iOS
ios.mov
Android
Screen.Recording.2023-04-24.at.23.36.04.mov