[Form Provider Refactor] CloseAccountPage#29962
Conversation
|
@narefyev91 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] |
|
After re-focus manually email field - cursor disappears and i could not add/remove email Screen.Recording.2023-10-20.at.13.39.23.mov |
|
@narefyev91, both issues should be fixed after the latest commit, there were some problems with inputRefs assignment in the refactored components.
first-fix.mov
second-fix.mov |
|
Hey @luacmartins! That PR is important, because the changes in FormProvider fixes a bug that can cause crashes in some already migrated components. |
|
Seems we missing sign commits from @cdOut and lint failed |
|
@cdOut issue with re-focus still exists - happened on mWEB IOS Screen.Recording.2023-10-20.at.18.41.35.mov |
ce27306 to
8111010
Compare
Reviewer Checklist
Screenshots/VideosWebweb.movweb-fix-crash.movMobile Web - Chromeandroid-web.movMobile Web - Safariios-web.movDesktopdesktop.moviOSios.movAndroidandroid.mov |
|
@cdOut any updates on mWeb issue with IOS? |
|
@narefyev91 I was helping @cdOut with the previous issue with errors being thrown, but I can't reproduce the one you've sent in #29962 (comment) On my side everything works fine: Screen.Recording.2023-10-23.at.13.57.02_H.265.mp4 |
@narefyev91 I tried reproducing the bug you presented but I was only able to remake it once and it started working again after refocusing on the input field so it didn't permanently block the flow, unlike what you've shown in your case. As presented in the video it works fine on my end, it does not block any flow and it might be an error caused by the IOS simulator on your end. edgecase-test.mov |
The issue happened when keyboard is not fully shown in emulator and after forcing it's up by shift+command+k - it will be reproduced - but i think it should not happened to normal behaviour |
narefyev91
left a comment
There was a problem hiding this comment.
LGTM!
🎀 👀 🎀 C+ reviewed
|
✋ 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/luacmartins in version: 1.3.90-0 🚀
|
|
🚀 Deployed to production by https://github.com/marcaaron in version: 1.3.90-2 🚀
|
|
🚀 Deployed to staging by https://github.com/luacmartins in version: 1.3.91-0 🚀
|
|
🚀 Deployed to production by https://github.com/marcaaron in version: 1.3.91-8 🚀
|

Details
Changed the Form component into the new FormProvider component in CloseAccountPage
Fixed Issues
$ #28870
PROPOSAL:
Tests
Offline tests
QA Steps
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
ANDROID-NATIVE.mov
Android: mWeb Chrome
ANDROID-CHROME.mov
iOS: Native
IOS-NATIVE.mov
iOS: mWeb Safari
IOS-SAFARI.mov
MacOS: Chrome / Safari
SAFARI.mov
MacOS: Desktop
DESKTOP.mov