Skip to content

fix: crisp full media for large stickers/custom emoji - #539

Open
anriltine wants to merge 1 commit into
Ajaxy:masterfrom
HyperlinksSpace:fix/crisp-large-sticker-emoji
Open

fix: crisp full media for large stickers/custom emoji#539
anriltine wants to merge 1 commit into
Ajaxy:masterfrom
HyperlinksSpace:fix/crisp-large-sticker-emoji

Conversation

@anriltine

Copy link
Copy Markdown

Summary

  • Stops forcing low-res document{id}?size=m preview when stickers/custom emoji are shown large (CSS size ≥ 64, not marked isSmall, or via new preferFullMedia), including animated Lottie/video when noPlay would previously keep the preview.
  • Tiny list/inline emoji (isSmall and size < 64) still use preview for performance.
  • Addresses blurry fullscreen / large custom-emoji display reported in Fullscreen / media-viewer animated custom emoji is blurry (low-res thumbnail upscaled) #538.

Fixes #538
Hyperlinks Space tracking: HyperlinksSpace/HyperlinksSpaceProgram#92

Test plan

  • Open a large single animated custom emoji in a chat (and with animated emoji disabled) — should look crisp, not upscaled size=m
  • Open sticker / custom-emoji set modal — stickers at modal size should load full media when static or paused
  • Scroll a chat with many tiny inline custom emoji — still uses preview path (no obvious perf regression)
  • Unsupported video stickers on mobile still fall back to preview

Made with Cursor

Avoid forcing `?size=m` preview for large stickers and custom emoji
(even when `noPlay` or `isSmall` at a large CSS size), so fullscreen
and pack previews stay crisp. Tiny list emoji still use preview.

Fixes Ajaxy#538

Co-authored-by: Cursor <cursoragent@cursor.com>
@netlify

netlify Bot commented Aug 22, 2026

Copy link
Copy Markdown

👷 Deploy request for telegram-tt-previews pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit 7105d0e

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.

Fullscreen / media-viewer animated custom emoji is blurry (low-res thumbnail upscaled)

1 participant