Repository navigation
Fix error message display bug on google signin - #34863
Conversation
|
@aimane-chnaif 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] |
|
I am not sure we should fix iOS as well. Other platforms (including android) test well! ios.mov |
Reviewer Checklist
Screenshots/VideosAndroid: Nativeandroid.movAndroid: mWeb Chromemchrome.moviOS: Nativeios.moviOS: mWeb Safarimsafari.movMacOS: Chrome / Safariweb.movMacOS: Desktopdesktop.mov |
|
@FitseTLT I checked your iOS video. Seems like not fully captured to the end |
|
@aimane-chnaif @roryabraham to solve the ios native case, because text will not blur on tap outside on native why don't we omit the validate callback |
This doesn't sound like a safe assumption. Why wouldn't a TextInput blur on native if you tap outside it? |
|
App/src/libs/willBlurTextInputOnTapOutside/index.native.ts Lines 3 to 4 in 74f1163 Because it only blurs when the user presses on the two login buttons, we don't want to run the validate callback as they opted for another login flow. |
|
Bump @roryabraham for a decision |
Thanks for explaining why this is a safe assumption @FitseTLT !
Sounds good 👍🏼 |
DONE!!! |
|
The failing reassure test is a false negative. The only affected page is not even in the same top-level navigator. |
|
@roryabraham looks like this was merged without a test passing. Please add a note explaining why this was done and remove the |
|
Removing emergency label per my last comment. |
|
✋ 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/thienlnam in version: 1.4.36-5 🚀
@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes. |
1 similar comment
|
🚀 Cherry-picked to staging by https://github.com/thienlnam in version: 1.4.36-5 🚀
@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes. |
|
🚀 Deployed to production by https://github.com/Julesssss in version: 1.4.37-7 🚀
|
| // As we have only two signin buttons (Apple/Google) other than the text input, | ||
| // for natives onBlur is called only when the buttons are pressed and we don't need | ||
| // to validate in those case as the user has opted for other signin flow. | ||
| willBlurTextInputOnTapOutside |
There was a problem hiding this comment.
✋ Coming from #42054
willBlurTextInputOnTapOutside is always false on native, leading to a bug in which the input is not validating when tapping away.
Details
Fixed Issues
$ #31413
PROPOSAL: #31413 (comment)
Tests
Offline tests
QA Steps
same
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)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG))Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel so the design team can review the changes.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: mWeb Chrome
2024-01-21_22-30-36.mp4
iOS: Native
ios.native.mp4
iOS: mWeb Safari
ios.web.mp4
MacOS: Chrome / Safari
web.mp4
MacOS: Desktop
desktop.mp4