-
Notifications
You must be signed in to change notification settings - Fork 3k
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
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? |
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.
1-2 comments
src/styles/StyleUtils.js
Outdated
width: isSmallScreenWidth ? '100%' : variables.sideBarWidth, | ||
backgroundColor: 'transparent', | ||
height: '100%', | ||
alignSelf: 'flex-end', |
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.
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', |
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.
here too height
?
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.
yes, I explained that in proposal.
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 |
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.
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 Issues
section aboveTests
sectionQA steps
sectiontoggleReport
and notonIconClick
)src/languages/*
filesWaiting 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)/** comment above it */
this
properly so there are no scoping issues (i.e. foronClick={this.submit}
the methodthis.submit
should be bound tothis
in the constructor)this
are necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);
ifthis.submit
is never passed to a component event handler likeonClick
)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG
)Avatar
is modified, I verified thatAvatar
is 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 Issues
section aboveTests
sectionQA steps
sectiontoggleReport
and notonIconClick
).src/languages/*
filesWaiting 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
have been tested & I retested again)/** comment above it */
this
properly so there are no scoping issues (i.e. foronClick={this.submit}
the methodthis.submit
should be bound tothis
in the constructor)this
are necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);
ifthis.submit
is never passed to a component event handler likeonClick
)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)Screenshots
Web
Mobile Web - Chrome
mchrome.mp4
Mobile Web - Safari
Desktop
iOS
Android