morethanwords / tweb

Telegram Web K, GPL v3
https://web.telegram.org/k/
GNU General Public License v3.0
1.86k stars 595 forks source link

[BUG] [TMA] Back Button is hiding automatically after being clicked #310

Closed heyqbnk closed 6 months ago

heyqbnk commented 8 months ago

Describe the bug At the moment, clicking the Back Button leads to its hiding even without calling the web_app_setup_back_button method.

To Reproduce Steps to reproduce the behavior:

  1. Open the mini app: https://t.me/tmajsbot/react_example
  2. Go to Launch Params -> Init Data (View)
  3. Click the Back Button
  4. Back Button is hiding, but the web_app_setup_back_button method was not called

Expected behavior The Back Button is not hiding automatically after being clicked.

Screenshots -

Desktop (please complete the following information):

Smartphone (please complete the following information): -

Additional context You could try the steps to reproduce in other Telegram applications to see that Web K is the only 1 having this issue. Just to make sure, the application is not calling any methods to hide the Back Button.

morethanwords commented 6 months ago

Thank you for the report! Fixed now.