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
[Due for payment 2026-03-18] [$250] iOS - Compose box - Global create emoji is overlapping the message with markdown #76899
Awaiting PaymentAuto-added when associated PR is deployed to productionBugSomething is broken. Auto assigns a BugZero manager.DailyKSv2ExternalAdded to denote the issue can be worked on by a contributor
Version Number: 9.2.73-0 Reproducible in staging?: Y Reproducible in production?: Y If this was caught during regression testing, add the test name, ID and link from TestRail:#76576 Issue reported by: Applause - Internal Team
Action Performed:
Open Expensify app
Open any chat
Write a message with markdown
Add a new line
Add the ":global_create:" emoji in the second line
Send the message
Expected Result:
Message should be clearly visible when using global_create emoji
Actual Result:
Global_create emoji is overlapping the text with markdown
Workaround:
Unknown
Platforms:
Select the officially supported platforms where the issue was reproduced:
Android: App
Android: mWeb Chrome
iOS: App
iOS: mWeb Safari
iOS: mWeb Chrome
Windows: Chrome
MacOS: Chrome / Safari
MacOS: Desktop
Platforms Tested:
On which of our officially supported platforms was this issue tested:
Android: App
Android: mWeb Chrome
iOS: App
iOS: mWeb Safari
iOS: mWeb Chrome
Windows: Chrome
MacOS: Chrome / Safari
MacOS: Desktop
Screenshots/Videos
Add any screenshot/video evidenceBug7022018_1764968754512.PR76576iOS.mp4
changed the title [-]iOS - Compose box - Global create emoji is overlapping the message with markdown[/-][+][$250] iOS - Compose box - Global create emoji is overlapping the message with markdown[/+]on Dec 8, 2025
Currently, a negative top margin is always applied to the emoji, regardless of whether it's inline with text or displayed on a separate line. This causes the emoji to visually overlap with the line above, which leads to the rendering issue.
What changes do you think we should make in order to solve the problem?
We should avoid applying the negative top margin when the emoji appears on its own line (i.e., not inline with other text).
Update EmojiWithTooltip to conditionally apply alignment styles based on a new oneline prop:
Awaiting PaymentAuto-added when associated PR is deployed to productionBugSomething is broken. Auto assigns a BugZero manager.DailyKSv2ExternalAdded to denote the issue can be worked on by a contributor
Activity
melvin-bot commentedon Dec 6, 2025
Triggered auto assignment to @kadiealexander (
Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.melvin-bot commentedon Dec 8, 2025
Job added to Upwork: https://www.upwork.com/jobs/~021997879542995363859
[-]iOS - Compose box - Global create emoji is overlapping the message with markdown[/-][+][$250] iOS - Compose box - Global create emoji is overlapping the message with markdown[/+]melvin-bot commentedon Dec 8, 2025
Triggered auto assignment to Contributor-plus team member for initial proposal review - @truph01 (
External)dmkt9 commentedon Dec 8, 2025
Proposal
Please re-state the problem that we are trying to solve in this issue.
Global create emoji is overlapping the message with markdown
What is the root cause of that problem?
marginTopvalue to reduce unnecessary white space.App/src/components/EmojiWithTooltip/index.ios.tsx
Lines 10 to 17 in 3c1691d
As a result, the emoji overlaps the preceding markdown, especially with the Global_create emoji.
What changes do you think we should make in order to solve the problem?
If the emoji is the last character in a comment, we will add a trailing space after it so that the emoji is always rendered inline with text.
App/src/pages/home/report/comment/TextCommentFragment.tsx
Line 93 in 3c1691d
htmlContent = Str.replaceAll(htmlContent, '<emoji>', '<emoji ismedium>'); + htmlContent = Str.replaceAll(htmlContent, /<\/emoji>$/g, '</emoji> ');What alternative solutions did you explore? (Optional)
N/A
paulnjs commentedon Dec 11, 2025
Proposal
Please re-state the problem that we are trying to solve in this issue.
iOS - Compose box - Global create emoji is overlapping the message with markdown.
What is the root cause of that problem?
Messages containing custom emojis are rendered in:
App/src/pages/home/report/comment/TextCommentFragment.tsx
Line 105 in 4c774c6
The emojis themselves are rendered in:
App/src/components/EmojiWithTooltip/index.ios.tsx
Lines 10 to 18 in 4c774c6
Currently, a negative top margin is always applied to the emoji, regardless of whether it's inline with text or displayed on a separate line. This causes the emoji to visually overlap with the line above, which leads to the rendering issue.
What changes do you think we should make in order to solve the problem?
We should avoid applying the negative top margin when the emoji appears on its own line (i.e., not inline with other text).
EmojiWithTooltipto conditionally apply alignment styles based on a newonelineprop:2. Update
EmojiRendererto pass theonelineprop if the emoji is rendered on a separate line:3. Update
TextCommentFragmentto detect emojis on their own line and add theonelineattribute accordingly:What alternative solutions did you explore? (Optional)
50 remaining items
mallenexpensify commentedon Mar 18, 2026
Shit... I knee-jerk paid (after checking the 2nd PR to see no regressions) then saw this
Payment Summary
Contributor: @paulnjs paid $250 via Upwork
Contributor+: @truph01 paid $250 via Upwork
Reckon I need to request a refund for $125 from each, correct?
melvin-bot commentedon Mar 24, 2026
@mallenexpensify Eep! 4 days overdue now. Issues have feelings too...
mallenexpensify commentedon Mar 25, 2026
Refund of $125 each requested. @paulnjs , @truph01 please comment and tag me once you've issued the refunds. Thx
paulnjs commentedon Mar 25, 2026
@mallenexpensify I refunded $125. Thanks!
mallenexpensify commentedon Mar 25, 2026
Thanks @paulnjs @truph01 , please post once you've accepted the refund request.
truph01 commentedon Mar 26, 2026
@mallenexpensify I also refunded $125
mallenexpensify commentedon Mar 26, 2026
Refund received thanks. Closing