fix(ui): Android Telegram nav — windowed mode, no close guard #128
Reference in New Issue
Block a user
Delete Branch "feature/telegram-android-nav-fixes"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fixes three Android Telegram Mini App issues found on Pixel 10 / Android 17 / TG 12.8.2.
Issues
Fix
requestFullscreenreplaces the native header — and itsBackButton, which also captures the Android system swipe-back — with a bare close/menu pill, so back-nav has no control and the system back minimises. Staying windowed on Android restores the native header + BackButton. iOS keeps immersive fullscreen (unchanged); the iOS decision is deferred pending the owner's emulator check.telegramClosingConfirmation/isMobilePlatformhelpers + their SDK interface fields.Verification
Not reproducible in Playwright (real Telegram webview) — verify on the Android emulator against the test contour. Local:
pnpm checkclean, 324 unit, build, 156 e2e green. The iOS path and the manualtg-fullscreenheader-layout e2e are unaffected. Docs:UI_DESIGN.md.