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] Window size shrinks after exiting a video from landscape display mode on iPhone #320

Open gjf7 opened 5 months ago

gjf7 commented 5 months ago

Describe the bug Window size shrinks after exiting a video from landscape display mode on iPhone.

To Reproduce Steps to reproduce the behavior:

  1. Play a video in full screen with portrait mode
  2. Rotate screen to enable landscape display mode
  3. Exit from this video
  4. Switch back to portrait mode
  5. Scroll down

Expected behavior window size should not be shrunk.

Screenshots

https://github.com/morethanwords/tweb/assets/77763617/d6da9bd7-bd4d-4696-a3cf-5af0bdd9a6be

Smartphone (please complete the following information):

Additional context This issue does not occur in Web A, so I believe it's a bug in Web K.