-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Fix error message overlap on zoom #33233
Fix error message overlap on zoom #33233
Conversation
@FitseTLT Please could you add a screenshot for Android Native? Thanks! |
Reviewer Checklist
Screenshots/VideosiOS: mWeb Safariios-safari-2023-12-19_08.46.45.mp4 |
I did but it was dropped right in the middle of the comment. Updated Thanks 👍 |
@FitseTLT Is there a way we could calculate |
Otherwise tests well, it's quite tight on smaller screen sizes (when the error is on two lines), but I don't feel strongly about adding extra room so I think we can leave it unless the other reviewer disagrees! |
Even better. Updated 👍 |
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! Thanks for the tweak 🙇
✋ 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/flodnv in version: 1.4.15-0 🚀
|
🚀 Deployed to production by https://github.com/jasperhuangg in version: 1.4.15-5 🚀
|
Details
Here is the explanation of how I came up with minHeight value of 114
App/src/styles/variables.ts
Lines 107 to 108 in d8dc314
App/src/components/FormHelpMessage.tsx
Line 38 in d8dc314
So now as the amount input will be center of the parent view there will be a space the same as the space where the error message will be displayed on above the amount input the total
minHeight
= 2 * (23 + 8) + 52 = 114The only doubt I have is that the error message will be displayed in two lines (when the width is not enought for zoomed font size) so we can increase the lineHeight accordingly. Let me have your thoughts, the only reason I didn't do it is b/c it looked like excess space to me 👍
Fixed Issues
$ #32661
PROPOSAL: #32661 (comment)
Tests
Offline tests
QA Steps
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.src/languages/*
files and using the translation methodWaiting 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)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)ScrollView
component to make it scrollable when more elements are added to the page.main
branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTest
steps.Screenshots/Videos
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop