TelegramMessenger / Telegram-iOS

Telegram-iOS
5.95k stars 1.58k forks source link

Unable to dismiss video files when viewed in full screen #1506

Open xezrunner opened 1 month ago

xezrunner commented 1 month ago

Checklist

Description

Videos sent as files can't be closed when tapped on to view full screen.

The video can only be dragged with two fingers to zoom it.
A one-finger tap/swipe results in no action.

Expected Behavior

Dragging down with one finger should dismiss the media preview UI.

Actual Behavior

There is no way to dismiss videos sent as files when previewed.

Steps to Reproduce

  1. Send a video as a file to Saved messages.
  2. Tap the video to view it full screen.
  3. Attempt dismissing it.

Screenshots and Videos

https://github.com/user-attachments/assets/e8129c15-8c6f-4164-a4f5-8b988510dac8

Environment

Device: iPhone 14 Pro Max

iOS version: iOS 18.0 Beta 6 (22A5338b), iOS 18.0 RC (22A3354)

App version: 11.0.1 (29514), 11.1 (29584)

xezrunner commented 1 week ago

This is likely related to iOS 18, as the same issue is encountered when viewing a file that has no media preview in the iOS Files app.
To easily reproduce that, rename a non-video file to a video file format and attempt to view it.

In a similar way, the preview cannot be dismissed.

xezrunner commented 5 days ago

In iOS 18.1 Beta 4, the controls now appear when tapping on the media. Swiping down, however, still does not dismiss.