-
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 LHN flickers on web #56472
Fix LHN flickers on web #56472
Conversation
…/53605-lhn-flickers-web
@hungvu193 Please 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/VideosAndroid: NativeScreen.Recording.2025-02-09.at.15.50.45.movAndroid: mWeb ChromeScreen.Recording.2025-02-09.at.15.36.47.moviOS: NativeScreen.Recording.2025-02-09.at.14.56.56.moviOS: mWeb SafariScreen.Recording.2025-02-09.at.14.35.07.movMacOS: Chrome / SafariScreen.Recording.2025-02-09.at.14.26.45.movMacOS: DesktopScreen.Recording.2025-02-09.at.14.23.00.mov |
Can you address the lint? @rezkiy37 |
…/53605-lhn-flickers-web
… and simplify props
@hungvu193 Done - c7f2b5e. |
✋ 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/puneetlath in version: 9.0.97-0 🚀
|
Explanation of Change
The PR enhances LHN (FlashList) performance. Especially when the user switches between tabs. It allows FlashList to start rendering from the previous position by the static initial scroll index for the WEB.
Fixed Issues
$ #53605
PROPOSAL: N/A
Tests
Offline tests
Same as "Tests".
QA Steps
// TODO: These must be filled out, or the issue title must include "[No QA]."
Same as "Tests".
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)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
Android: Native
Android.mp4
Android: mWeb Chrome
Android.Chrome.mp4
iOS: Native
IOS.mp4
iOS: mWeb Safari
IOS.Safari.mp4
MacOS: Chrome / Safari
Chrome.mp4
MacOS: Desktop
Desktop.mp4