TelegramMessenger / Telegram-iOS

Telegram-iOS
5.91k stars 1.57k forks source link

Mini-app does not move webpage up and overlaps input in iframe #1475

Open Glider-of-chaos opened 1 month ago

Glider-of-chaos commented 1 month ago

Checklist

Description

Telegram iOS mini-app - virtual keyboard overlaps webpage and hides input in iframe

Expected Behavior

Page should move up the screen not to obstruct the input

Actual Behavior

Page does not move up the screen and obstructs the input

Steps to Reproduce

  1. Open following page from mini-app: https://glider-of-chaos.github.io/bug-telegram-bot-input/iframe
  2. Click on the input field in the lower part of the page (virtual keyboard appears)

Screenshots and Videos

https://github.com/user-attachments/assets/f38f0513-19e6-480c-94a9-f1920a07e10a

Environment

Device: iPhone SE 2020

iOS version: 17.5.1

App version: 10.15 (29365)

Glider-of-chaos commented 1 month ago

May be related to #1410