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
Rich text messages: portrait images/videos render inside oversized square media frames #244
Tall portrait media embedded in a Rich Text Message (InstantPage V2) can appear inside an approximately square layout frame with substantial side padding/background, rather than in a tight frame preserving the media's intrinsic aspect ratio.
This differs noticeably from ordinary Telegram photo/video messages.
Steps to reproduce
Send a Rich Text Message containing a portrait .image or .video block (for example, 1080×2400).
Open the message in Telegram for macOS.
Compare its media preview with the same media sent as a regular photo/video.
Expected behavior
A preview preserving the media aspect ratio, subject to reasonable maximum dimensions.
Actual behavior
The outer media frame may become approximately square, with the portrait content letterboxed on both sides.
Activity