-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Use PickerAvoidingView from react-native-picker-select #17279
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
Use PickerAvoidingView from react-native-picker-select #17279
Conversation
|
@Julesssss @0xmiroslav 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] |
8c40497 to
4d7d979
Compare
|
@0xmiroslav I'm still finishing the author's checklist, but I would say that both PRs are ready for review! It would be awesome if we managed to wrap this in three days, and I think that's realistic 😊 |
|
@0xmiroslav another friendly bump. My next steps are upstream PR and more testing, so the PR code is ready for review from my perspective. |
|
reviewing now |
4d7d979 to
1d41b5a
Compare
1d41b5a to
12091c4
Compare
|
@0xmiroslav Both PRs are ready for another round of review! In this thread where I suggest posting the upstream PR to @Julesssss I closed all the threads from the @0xmiroslav first round, so if you'd like to look at the code to share your thoughts, that would be awesome 😊 Tomorrow I'll post that upstream PR and do even more testing. But so far iOS seems to work well, and the Web seems not to be broken. I'll check Android tomorrow. |
Julesssss
left a comment
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.
Looking good, but we still need to run and test on other platforms
|
@cubuspl42 please pull from main |
|
Hey! I see that you made changes to our Form component. Make sure to update the docs in FORMS.md accordingly. Cheers! |
Ok! I'll get back to this issue in 2 hours or so, and then I'll pull from main and finish the checklist. |
f09bcbc to
9b11750
Compare
|
@cubuspl42 please fix conflict |
c867e43 to
e4e835d
Compare
|
NOTE: this should not be merged yet until commit hash is updated in package.json |
Julesssss
left a comment
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.
Thanks, looking good. Just left a comment on the library PR.
...to the one merged in Expensify/react-native-picker-select#8
|
@cubuspl42 also commit |
|
@0xmiroslav Of course... Done. |
Reviewer Checklist
Screenshots/VideosWebweb.movMobile Web - Chromemchrome.movMobile Web - Safarimsafari.movDesktopdesktop.moviOSios.movios2.movAndroidandroid.mov |
0xmiros
left a comment
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.
iOS tests well. Confirmed other platforms are not affected.
3 different console errors on iOS, already happens on main so out of scope:
ios2.mov
cc: @Julesssss
Julesssss
left a comment
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.
Looking good, just requested some minor formatting changes.
Julesssss
left a comment
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.
Thanks, just need @0xmiroslav to review again and we're good 👍
0xmiros
left a comment
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.
Tested again. Nothing breaks
|
🚀 Deployed to staging by https://github.com/Julesssss in version: 1.3.8-1 🚀
|
|
🚀 Deployed to production by https://github.com/marcaaron in version: 1.3.8-8 🚀
|
Details
Use PickerAvoidingView from react-native-picker-select to ensure pickers aren't covered by iOS picker modal.
Depends on Expensify/react-native-picker-select#8
Fixed Issues
$ #15483
PROPOSAL: #15483 (comment)
Tests
On iOS:
On other platforms:
On all platforms:
Offline tests
QA Steps
See Tests
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)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
Web
picker-avoiding-web.mp4
Mobile Web - Chrome
Mobile Web - Safari
Desktop
iOS
picker-avoiding-ios-3.mp4
Android
picker-avoiding-android.mp4