Telegram-Mini-Apps / issues

Centralised storage of platform issues and enhancement proposals.
11 stars 1 forks source link

Telegram Web incorrectly reloads Mini App #12

Closed heyqbnk closed 10 months ago

heyqbnk commented 1 year 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 1 year ago

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

heyqbnk commented 10 months ago

Issue was solved