Open nikitabelotelov-ciliz opened 6 months ago
I confirm I have same problem on all apps, it's really annoying when you use flexbox because the layout isn't calculated correctly the first time
I still can reproduce the bug in demo from the description, but for some reason it doesn't appear anymore in our app @spinthe_bot. The code is simple:
window.Telegram.WebApp.ready(); window.Telegram.WebApp.expand();
and it runs in body onload event
Personally I can reproduce the bug on my app and all the apps I have on my Telegram
I still can reproduce the bug in demo from the description, but for some reason it doesn't appear anymore in our app @spinthe_bot. The code is simple:
window.Telegram.WebApp.ready(); window.Telegram.WebApp.expand();
and it runs in body onload event did you find any solution ?
crazy any workarounds?
Issue in Telegram-Mini-Apps repo
Checklist
Description
When using the window.Telegram.WebApp.expand() method in the Telegram iOS app, the app does not expand to its full height. There remains a gap between the tab header and the upper border of the screen, and it is still possible to drag the tab upwards, indicating incomplete expansion.
Expected Behavior
The window.Telegram.WebApp.expand() method should expand the mini-app to the full available height, filling the screen without leaving any gaps or allowing further upward dragging of the tab.
Actual Behavior
After invoking the window.Telegram.WebApp.expand() method, the app does not fully expand. A gap is visible between the tab header and the top of the screen, and the tab can still be dragged upwards, which shouldn't be possible.
Steps to Reproduce
Screenshots and Videos
https://github.com/TelegramMessenger/Telegram-iOS/assets/149486224/cbf42e7b-8123-455d-9327-b620faa80391
Environment
Device:
iPhone SE(3rd), iPhone 14
iOS version:
17.1.2
App version:
10.3.1