Closed flagg2 closed 7 months ago
Telegram for iOS
When I programatically call viewport.expand() while working with a miniapp, the UI disappears too soon when scrolling
An example of this happening (the heading at the bottom disappears): https://github.com/Telegram-Mini-Apps/tma.js/assets/65034737/4dbd18dd-f458-4de8-85ca-20aa7f7583c9
The issue is not present if I resize the viewport manually. Tested on ios and mac, only happens on ios (dont konw about android)
The UI should remain visible as long as it is on the screen.
Hey.
Not related to tma.js. Described problem is related to iOS Web View specific problems. As far as I remember, it is somehow connected with using position sticky, fixed, or something like that
Telegram Application
Telegram for iOS
Describe the Bug
When I programatically call viewport.expand() while working with a miniapp, the UI disappears too soon when scrolling
An example of this happening (the heading at the bottom disappears): https://github.com/Telegram-Mini-Apps/tma.js/assets/65034737/4dbd18dd-f458-4de8-85ca-20aa7f7583c9
The issue is not present if I resize the viewport manually. Tested on ios and mac, only happens on ios (dont konw about android)
To Reproduce
Expected Behavior
The UI should remain visible as long as it is on the screen.