morethanwords/tweb/master • e9ea7d0 • 1 files, +4/-0
Ignore clicks on pinned gifts when profile avatar is expanded
The pinned-gifts layer paints on top of the avatar and was only hidden
via opacity:0 when the header is expanded, which leaves it catching
clicks meant for the avatar underneath. Make it pointer-events:none in
the expanded state so clicks fall through to the avatar handler.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
morethanwords/tweb/master • 0b2e4a5 • 1 files, +9/-2
Fix player menus invisible in fullscreen
Playback-rate / quality / live menus open via ButtonMenuToggle, which
portals the menu to document.body. While the player wrapper is the
fullscreen element the browser paints only its subtree (top layer), so a
menu in document.body never shows. Mount the menu inside the fullscreen
element when the trigger lives there; falls back to the overlay root
otherwise.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
morethanwords/tweb/master • bc0fe18 • 3 files, +27/-19
Chat preview: apply per-chat theme to outgoing bubbles + fix bubble width
A preview Chat sets isPreview, so Chat.handleBackgrounds() short-circuits and
applyContainerTheme() never runs — the per-chat theme's outgoing-bubble vars
(--message-out-*) were missing on the container, so outgoing bubbles fell back
to the global :root palette ("theme only partially applied"). Apply the
resolved theme to the preview's chat container, re-firing on day/night toggle,
mirroring Chat._handleBackgrounds.
Also scope the bubbles scroll-area negative inset-inline rule to #column-center
so it no longer widens the preview popup's bubbles, and drop the now-redundant
inset-inline: 0 override in _chatPreview.scss.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
morethanwords/tweb/master • 2010d64 • 3 files, +56/-0
Close global search and left-sidebar tabs when switching folders
Switching a chat folder now dismisses an open global search and closes any
stacked left-sidebar tabs, mirroring closeEverythingInside. Tabs close the
natural way (as if via the back arrow), so a tab that needs confirmation
still asks; if the user declines, the folder switch is cancelled. Both folder
UIs (the horizontal tabs and the vertical folders sidebar) funnel through
selectFolderByIndex, so a single hook covers both.
Adds SidebarSlider.closeAllTabsNaturally (close tabs top-down honoring each
tab's isConfirmationNeededOnClose) and AppSidebarLeft.closeEverythingInsideNaturally.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
#webk
morethanwords/tweb/master • e9ea7d0 • 1 files, +4/-0 Ignore clicks on pinned gifts when profile avat
Telegram github commits and releases
@tgappsupdatesBroadcast from the most important Telegram clients' repositories
4,538 subscribers
Open in Telegram