You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Android - LHN - Period is displayed in between the user names of group chat in unread messages #4074
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open StagingDeployCash deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
Identify the pull request that introduced this issue and revert it.
@roryabraham I think this is a side-effect of replacing the Text with ExpensiText. I found that we have height:18 set on these styles and if we remove it will be fixed. Also if you look closely, you will found that in focused mode the Chat title is not centered with respect to Avatar.
Sorry, I had a bunch of issues with my Android emulators + not being able to update the hosts file to access the VM API. So I wasn't able to reproduce this. Lame, I know, but I have to give this back to you @yuwenmemon because I'll be OOO next week. I'm guessing it's just a simple issue with the default lineHeight here
Now line height will be taken from Text component default which is 20 so issues are coming. We are in discussion on removing the line height from the Text component as it has caused many issues. But to fix this.
either we set the line height back to 18 or remove the height.
Activity
OSBotify commentedon Jul 15, 2021
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open
StagingDeployCashdeploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:MelvinBot commentedon Jul 15, 2021
Triggered auto assignment to @yuwenmemon (
Engineering), see https://stackoverflow.com/c/expensify/questions/4319 for more details.parasharrajat commentedon Jul 15, 2021
@roryabraham I think this is a side-effect of replacing the Text with ExpensiText. I found that we have
height:18set on these styles and if we remove it will be fixed. Also if you look closely, you will found that in focused mode the Chat title is not centered with respect to Avatar.roryabraham commentedon Jul 16, 2021
Sorry I didn't get to this yesterday. I'll work on getting this resolved now.
roryabraham commentedon Jul 16, 2021
Confirmed that this doesn't seem to be happening on other platforms.
roryabraham commentedon Jul 16, 2021
Sorry, I had a bunch of issues with my Android emulators + not being able to update the hosts file to access the VM API. So I wasn't able to reproduce this. Lame, I know, but I have to give this back to you @yuwenmemon because I'll be OOO next week. I'm guessing it's just a simple issue with the default lineHeight here
isagoico commentedon Jul 19, 2021
Issue reproducible during KI retests
yuwenmemon commentedon Jul 19, 2021
Hmmm... I'm actually not seeing this on the latest version of Master:

What kind of Android device was it specifically?
parasharrajat commentedon Jul 19, 2021
So @yuwenmemon This issue started showing up when Rory moved the RN
textto ourTextcomponent. Previously Line-height and height were set to 18px which had no issues. https://github.com/Expensify/Expensify.cash/blob/47494884adb24d23226edb0eb7d22d8240ecf979/src/styles/styles.js#L801-L806.Now line height will be taken from Text component default which is 20 so issues are coming. We are in discussion on removing the line height from the Text component as it has caused many issues. But to fix this.
either we set the line height back to 18 or remove the height.
isagoico commentedon Jul 23, 2021
Retested this after #4143 was CPd and it was a pass 🎉 Closing the issue