element-hq / element-hq/element-ios

Various layout problems using camera on iPad

Open
#1,349 3 comments 0 reactions 1 assignee Claimed by @giomfo View on GitHub
Dominant language
Swift
Stars
1.8k
Forks
544
PR merge metrics
PR metrics pending

Description

I am using testing Riot 0.4.0 on an iPad Mini 4 running iOS 10.3.2.

If I am in a room in portrait orientiation and press the Up-arrow button to share a photo, sometimes at random the camera view is 1/4 size:

![img_0011](https://user-images.githubusercontent.com/5511175/27475447-98e90210-5848-11e7-855e-214eee7a4809.PNG)

Even if that does not happen, the "take photo" button is always mostly off-screen until I scroll down:

![img_0009](https://user-images.githubusercontent.com/5511175/27475471-adffe100-5848-11e7-9fd4-ecc4d5fbd9dd.PNG)

If I am in landscape orientation when I press the Up-arrow button, the initial camera view is partially scrolled down so the close "X" button is obscured:

![img_0010](https://user-images.githubusercontent.com/5511175/27475507-d20a3f8c-5848-11e7-93e5-f4b8cbe9e02d.PNG)

If I scroll down in landscape orientation, all my photos appear as black squares and there is a large gap before the menu:

![img_0012](https://user-images.githubusercontent.com/5511175/27475540-ecd06490-5848-11e7-806d-bc1a99cd083d.PNG)
![img_0013](https://user-images.githubusercontent.com/5511175/27475544-f0aed9ac-5848-11e7-9af7-d153f95b2705.PNG)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.