-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Set default lineHeight for webViewStyles(HTML rendered messages) #14360
Set default lineHeight for webViewStyles(HTML rendered messages) #14360
Conversation
@puneetlath @mananjadhav One of you needs to 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] |
Reviewer Checklist
Screenshots/VideosWebweb-line-height.movMobile Web - Chromemweb-chrome-line-height.movMobile Web - Safarimweb-safari-line-height.movDesktopdesktop-line-height.moviOSios-line-height.movAndroidandroid-line-height.mov
|
@puneetlath All yours. @shawnborton If you'd like to take a quick look here or anything specific you want me to test. |
Oh interesting, so by adding the lineHeight to |
I don't think so. Can you give me an example, where apart from the messages has it impacted. We're updating |
It won't change @shawnborton. But just fyi, the example that you gave has the lineHeight of 20px anyway. @puneetlath Did you get a chance to look at the PR? |
bump @puneetlath |
Just to point out message which has italic font style and includes Screen.Recording.2023-01-21.at.12.19.05.AM.mp4 |
Good catch! Let's try to clean that up to be 20px as well. |
@daraksha-dk Can you confirm the above comments? |
@mananjadhav, the height is becoming 21px when one type of formatting like |
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
Performance Comparison Report 📊Significant Changes To DurationThere are no entries Meaningless Changes To DurationShow entries
Show details
|
🚀 Deployed to staging by https://github.com/puneetlath in version: 1.2.59-0 🚀
|
🚀 Deployed to production by https://github.com/luacmartins in version: 1.2.59-1 🚀
|
Details
#13807 (comment)
Fixed Issues
$ #13807
PROPOSAL: #13807 (comment)
Tests
Offline tests
QA Steps
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)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)/** 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)ScrollView
component to make it scrollable when more elements are added to the page.Screenshots/Videos
Web
Mobile Web - Chrome
Mobile Web - Safari
Desktop
iOS
Android