-
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
Fix highlighted user in new chat page is covered by referral view #35129
Fix highlighted user in new chat page is covered by referral view #35129
Conversation
} | ||
|
||
listRef.current.scrollToLocation({sectionIndex: adjustedSectionIndex, itemIndex, animated, viewOffset: variables.contentHeaderHeight}); | ||
listRef.current.scrollToLocation({sectionIndex, itemIndex, animated, viewOffset: variables.contentHeaderHeight}); |
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.
Even though the issue happens on OptionsSelector, SelectionList applies the same logic, so I removed it here too. Here is a video showing the scroll still works fine.
Screen.Recording.2024-01-25.at.13.45.17.mov
Reviewer Checklist
Screenshots/VideosAndroid: NativescrollAndroid.mp4Android: mWeb ChromescrollAndroidChrome.mp4iOS: NativescrolliOS.mp4iOS: mWeb SafariscrolliOSSafari.mp4MacOS: Chrome / SafariscrollChrome.mp4MacOS: DesktopscrollDesktop.mp4 |
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.
Looks good!
✋ 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/dangrous in version: 1.4.33-0 🚀
|
I think this PR caused this regression here: #35396 |
Screen.Recording.2024-01-30.at.7.14.54.PM.movDoes not appear to be reproducible on latest main. This PR must not have caused it. |
Yes, it was this PR, but this PR has been reverted already #35386 😄 |
But that reverted #34485 not this 🤔 |
Ahh you are right, I didn't read properly, that's my bad, sorry! |
To confirm, I think we're all set here? |
Yep we're all set here |
🚀 Deployed to production by https://github.com/francoisl in version: 1.4.33-5 🚀
|
Details
When we scroll down the list with a keyboard, the focused/highlighted user is covered by the referral view because we scroll to the wrong location.
Fixed Issues
$ #34112
PROPOSAL: #34112 (comment)
Tests
Same as QA Steps
Offline tests
Same as QA Steps
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 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)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)Design
label 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
Screen.Recording.2024-01-25.at.13.55.03.mov
Android: mWeb Chrome
Screen.Recording.2024-01-25.at.13.53.29.mov
iOS: Native
Screen.Recording.2024-01-25.at.13.46.37.mov
iOS: mWeb Safari
Screen.Recording.2024-01-25.at.13.48.33.mov
MacOS: Chrome / Safari
Screen.Recording.2024-01-25.at.13.44.26.mov
MacOS: Desktop
Screen.Recording.2024-01-25.at.13.45.53.mov