Skip to content

Fixes #7784: Background artifact on emoji selection in message bubbles#7787

Open
apurv3170 wants to merge 1 commit intosignalapp:mainfrom
apurv3170:fix/emoji-selection-artifact
Open

Fixes #7784: Background artifact on emoji selection in message bubbles#7787
apurv3170 wants to merge 1 commit intosignalapp:mainfrom
apurv3170:fix/emoji-selection-artifact

Conversation

@apurv3170
Copy link
Copy Markdown

@apurv3170 apurv3170 commented Mar 20, 2026

Contributor checklist:

  • My contribution is not related to translations.
  • My commits are in nice logical chunks with good commit messages
  • My changes are rebased on the latest main branch
  • A pnpm run ready run passes successfully (more about tests here)
  • My changes are ready to be shipped to users

Description

Bug: When selecting text containing inline emojis, a background image artifact was visible behind the emoji due to the browser's default selection highlight being applied to the hidden FunEmojiSelectionText span.

Fixes #7784 by setting background-color: transparent on ::selection for FunEmojiSelectionText, which removes the artifact while keeping the emoji selectable and copyable.

Screenshots:

image

Tested on Windows 11 OS

When selecting text containing inline emojis, a background image artifact
was visible behind the emoji due to the browser's default selection
highlight being applied to the hidden FunEmojiSelectionText span.

Fix by setting background-color: transparent on ::selection for
FunEmojiSelectionText, which removes the artifact while keeping the
emoji selectable and copyable.
@apurv3170 apurv3170 force-pushed the fix/emoji-selection-artifact branch from 0bfdd02 to 7cf8d14 Compare March 20, 2026 08:21
@trevor-signal trevor-signal self-assigned this Mar 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Emoji background bug when it's selected

2 participants