-
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 scroll behavior when single item is selected #34485
Conversation
@eVoloshchak 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] |
@eVoloshchak The PR is ready for review! |
Reviewer Checklist
Screenshots/VideosAndroid: Native24-01-17-18-36-54_063758.mp4Android: mWeb ChromeScreen.Recording.2024-01-17.at.18.35.29.moviOS: NativeScreen.Recording.2024-01-17.at.18.50.49.moviOS: mWeb SafariScreen.Recording.2024-01-17.at.18.33.21.movMacOS: Chrome / SafariScreen.Recording.2024-01-17.at.18.25.24.movMacOS: DesktopScreen.Recording.2024-01-17.at.18.32.22.mov |
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 tests well
@neonbhai, LGTM, there are a couple of things left
|
We remove this prop from BaseSelectionList as we don't have a usecase for now
@eVoloshchak hi, added Since the state picker is only available for USA residents: App/src/components/AddressForm.js Lines 172 to 181 in 0efabc2
And it might look like textbox sometimes: Screen.Recording.2024-01-24.at.6.57.58.AM.movSo changed steps to check the country list, as it is always available. |
Updated Tests to make them clearer! |
Hey @neonbhai just a conflict to fix then we can merge 😄 |
Conflicts resolved, and PR retested! cc: @rlinoz |
✋ 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/rlinoz in version: 1.4.33-0 🚀
|
🚀 Deployed to production by https://github.com/francoisl in version: 1.4.33-5 🚀
|
🚀 Cherry-picked to staging by https://github.com/francoisl in version: 1.4.33-5 🚀
@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes. |
🚀 Deployed to staging by https://github.com/rlinoz in version: 1.4.34-0 🚀
|
🚀 Deployed to staging by https://github.com/rlinoz in version: 1.4.34-0 🚀
|
🚀 Deployed to production by https://github.com/francoisl in version: 1.4.34-1 🚀
|
Details
We fix scroll behavior on selecting single item and add new prop type to control scroll behavior on select.
Fixed Issues
$ #32305
PROPOSAL: #32305 (comment)
Tests
Offline tests
Same as Tests step
QA Steps
Same as Tests step
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
https://github.com/Expensify/App/assets/64629613/bdc58c5d-1100-4900-b58c-da0726bab093
Android: mWeb Chrome
Screen.Recording.2024-01-15.at.6.10.37.AM.mov
iOS: Native
Screen.Recording.2024-01-15.at.6.06.35.AM.mov
iOS: mWeb Safari
Screen.Recording.2024-01-15.at.6.05.19.AM.mov
MacOS: Chrome / Safari
Screen.Recording.2024-01-15.at.5.56.12.AM.mov
MacOS: Desktop
Screen.Recording.2024-01-15.at.6.03.04.AM.mov