From 68c1ca19fa3e65eac3cfef9c4a617cb5038f0630 Mon Sep 17 00:00:00 2001 From: Evie Gauthier Date: Mon, 16 Mar 2026 14:57:13 -0400 Subject: [PATCH] fix(read-receipts): prevent emoji color bleed in follower names MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit WebKit (Safari/iOS) has a rendering quirk where colorful emoji inside tags can contaminate the paint color of adjacent sibling text nodes. This caused display names following a user with an emoji (e.g. '🔴 Alice') to render with the emoji's color instead of the expected text color. Apply -webkit-text-fill-color: inherit on name tags and -webkit-text-fill-color: currentColor on the following elements. This explicitly resets the WebKit fill color chain at each step, preventing emoji paint properties from cascading into sibling spans. Fixes #267 --- src/app/features/room/RoomViewFollowing.tsx | 40 ++++++++++----------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/src/app/features/room/RoomViewFollowing.tsx b/src/app/features/room/RoomViewFollowing.tsx index c7285aceb..4e7fee489 100644 --- a/src/app/features/room/RoomViewFollowing.tsx +++ b/src/app/features/room/RoomViewFollowing.tsx @@ -89,56 +89,56 @@ export const RoomViewFollowing = as<'div', RoomViewFollowingProps>( {names.length === 1 && ( <> - {names[0]} - + {names[0]} + {' is following the conversation.'} )} {names.length === 2 && ( <> - {names[0]} - + {names[0]} + {' and '} - {names[1]} - + {names[1]} + {' are following the conversation.'} )} {names.length === 3 && ( <> - {names[0]} - + {names[0]} + {', '} - {names[1]} - + {names[1]} + {' and '} - {names[2]} - + {names[2]} + {' are following the conversation.'} )} {names.length > 3 && ( <> - {names[0]} - + {names[0]} + {', '} - {names[1]} - + {names[1]} + {', '} - {names[2]} - + {names[2]} + {' and '} - {names.length - 3} others - + {names.length - 3} others + {' are following the conversation.'}