Add autoScrollToTopThreshold to main chat list#30461
Conversation
marcaaron
left a comment
There was a problem hiding this comment.
Confirmed this fixes both issues for me on iOS
Reviewer Checklist
Screenshots/Videos |
|
🧪🧪 Use the links below to test this build in android and iOS. Happy testing! 🧪🧪 |
|
Tests well gonna 🚢 |
Add autoScrollToTopThreshold to main chat list (cherry picked from commit 6863ca6)
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🚀 Cherry-picked to staging by https://github.com/marcaaron in version: 1.3.91-8 🚀
@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes. |
|
🚀 Deployed to production by https://github.com/marcaaron in version: 1.3.91-8 🚀
|
|
🚀 Deployed to staging by https://github.com/marcaaron in version: 1.3.93-0 🚀
|
|
🚀 Deployed to production by https://github.com/Beamanator in version: 1.3.93-1 🚀
|






Details
Adds
autoScrollToTopThreshold, which in an inverted list is basically autoScrollToBottom.Fixed Issues
$ #30395
$ #30423
Tests / QA Steps
Offline tests
None.
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.src/languages/*files and using the translation methodWaiting for Copylabel for a copy review on the original GH to get the correct copy.STYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)/** comment above it */thisproperly so there are no scoping issues (i.e. foronClick={this.submit}the methodthis.submitshould be bound tothisin the constructor)thisare necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);ifthis.submitis never passed to a component event handler likeonClick)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG))Avataris modified, I verified thatAvataris working as expected in all cases)ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Android: Native
dev env too slow to take a video - you'll have to take my word for it that I didn't manually scroll down 🙂
Android: mWeb Chrome
androidWeb.mov
iOS: Native
iOS.mov
iOS: mWeb Safari
iOSWeb.mov
MacOS: Chrome / Safari
web.mov
web2.mov
MacOS: Desktop
desktop.mov