refactor navigation modal card styles#12366
Conversation
|
@aimane-chnaif Appreciate you putting effort in resolving this, I would've appreciated if we could get screencasts instead of screenshots. From the screenshots, it is difficult to make out the autofill. Will you please be able to do it? Also do you have a list of the screens impacted by the change? That we can attach in the GH body? |
|
@mananjadhav this issue is for mWeb (also stated in issue description). That's why I took video only for mWeb. I couldn't get autofill suggestions displayed for first name, last name in native. I don't think autofill is available for any inputs (except email, password) in native iOS/Android. On web, the issue is reproducible on chrome (works fine on safari) but I hope it wouldn't be an issue. I haven't found solution yet for web. So far, I found out that the root cause is - <RootStack.Navigator>
+ <RootStack.Navigator mode="modal">Here's example popular website with the issue: scroll.mov
Most auth screens are impacted. Especially, Search, IOUModal pages (IOUAmount, IOUParticipants, IOUConfirm), Settings, New chat/group/room |
|
@aimane-chnaif Thanks for the comment. I'll check. Meanwhile, did you get a chance to look at the PR comments? |
@mananjadhav which comments do you mean? |
src/styles/StyleUtils.js
Outdated
| width: isSmallScreenWidth ? '100%' : variables.sideBarWidth, | ||
| backgroundColor: 'transparent', | ||
| height: '100%', | ||
| alignSelf: 'flex-end', |
There was a problem hiding this comment.
I understand why we removed absolute position. Did we also need to remove height: 100% ?
| width: isSmallScreenWidth ? screenWidth : variables.sideBarWidth, | ||
| right: 0, | ||
| height: '100%', | ||
| alignSelf: 'flex-end', |
Apologies, I had these commented, but they were pending. I just submitted review and you should see comments. |
|
I am going to test this tomorrow. I did basic testing on one page, and it seems to be working (although I had some issue reproducing it on main consistently). Please allow me for the weekend to get this done. |
|
Hi @aimane-chnaif, could you fix the conflicting file? |
|
Apologies for the delay here. I took some extra time to reproduce the error, as well as testing all the screens. @marcochavezf All yours. 🎀 👀 🎀 Reviewer Checklist
ScreenshotsWebweb-autosuggestion.movweb-autosuggestion-chrome.movMobile Web - ChromeImportant mweb-chrome-autosuggestion.movMobile Web - SafariDesktopiOSAndroid |
Reviewer Checklist
|
|
Oh seems the GH action that checks the Reviewer Checklist looks for comments that begin with |
marcochavezf
left a comment
There was a problem hiding this comment.
LGTM, thank you for addressing this bug guys!
|
✋ 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 @marcochavezf in version: 1.2.30-0 🚀
|
|
🚀 Deployed to staging by @marcochavezf in version: 1.2.30-0 🚀
|
|
🚀 Deployed to production by @luacmartins in version: 1.2.30-0 🚀
|





Details
Fixed Issues
$ #11336
PROPOSAL: #11336 (comment)
Tests
NOTE: Since this is navigation card and animation styles refactor, all screens need to be throughly tested throughout the app in all devices and all platforms.
QA Steps
NOTE: Since this is navigation card and animation styles refactor, all screens need to be throughly tested throughout the app in all devices and all platforms.
PR Author Checklist
### Fixed Issuessection aboveTestssectionQA stepssectiontoggleReportand notonIconClick)src/languages/*filesWaiting 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)PR Reviewer Checklist
The reviewer will copy/paste it into a new comment and complete it after the author checklist is completed
### Fixed Issuessection aboveTestssectionQA stepssectiontoggleReportand notonIconClick).src/languages/*filesWaiting for Copylabel for a copy review on the original GH to get the correct copy.STYLE.md) were followedAvatar, I verified the components usingAvatarhave been tested & I retested again)/** 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)Screenshots
Web
Mobile Web - Chrome
mchrome.mp4
Mobile Web - Safari
Desktop
iOS
Android