Telegram-Mini-Apps / issues

Centralised storage of platform issues and enhancement proposals.
5 stars 0 forks source link

Telegram Web incorrectly reloads Mini App #12

Closed heyqbnk closed 5 months ago

heyqbnk commented 9 months ago

Platform

Select one of the following:

Describe the bug

Web version of Telegram does not really reloads Mini App iframe, but instead, it re-inserts it. The reason is Telegram Web has no access to iframe location and is not able to reload it.

The second problem here is Telegram Web is also unable to reload it saving current application location. So it just drops window.location to the initial one, which leads to loss of application routing state.

Here is the original issue: https://github.com/Ajaxy/telegram-tt/issues/282

heyqbnk commented 8 months ago

Web K issue: https://github.com/morethanwords/tweb/issues/271

heyqbnk commented 5 months ago

Issue was solved