overtake / TelegramSwift

Source code of Telegram for macos on Swift 5.0
https://macos.telegram.org
GNU General Public License v2.0
5.07k stars 858 forks source link

Mini apps - confirm window is not visible #1155

Open kubk opened 3 months ago

kubk commented 3 months ago

If you open confirm modal using WebApp.showConfirm it's opened below the mini app window making it completely invisible. The issue can only be reproduced in macos full screen mode (when you open Telegram in full screen):

https://github.com/user-attachments/assets/4b0add21-b424-49bf-95a4-fe9e3c26e7ae

zweeltow commented 3 months ago

Can't reproduce it using @asmico_attach_bot app at Telegram 10.15.4.266662 and macOS 13.6.4. image

kubk commented 3 months ago
Screenshot 2024-08-08 at 09 42 45

Hi @zweeltow , please use showConfirm instead of confirm. The same issue with all the show* methods like showAlert

My Telegram version is 10.15.4.266662 AppStore (same as yours), macos version 14.5 (23F79)

Make sure to open Telegram in full screen:

Screenshot 2024-08-08 at 09 41 07