Unable to dismiss video files when viewed in full screen
Checklist
- [x] I am reporting an issue in existing functionality that does not work as intended
- [x] I've searched for existing GitHub issues
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
- Send a video as a file to Saved messages.
- Tap the video to view it full screen.
- 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)
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.
In iOS 18.1 Beta 4, the controls now appear when tapping on the media. Swiping down, however, still does not dismiss.