cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
DKassian
Advocate III
Advocate III

BUG: Screen Rotation and Pinch to Zoom, changes App.Width

We have experienced this bug since the release of responsive power apps where screen rotation is used. I'm hoping someone on the Power Apps team will fix this, or provide a workaround. Currently it is not possible to have apps with rotation, as they get "jumbled" if the users is zoomed in.

 

Scenario that works:

1. Responsive app in original orientation

2. User Rotates screen

 

Scenario that breaks app:

1. Responsive app in original orientation

2. User zooms in, on purpose or accidentally

3. User Rotates screen

The app then gets all jumbled up and does not display correctly. The only solution is to close the app and re-open it. We have done all kinds of testing and there is no solution to this that we can find.

 

App with proper scaling in portrait mode: Note App.Width=834

DKassian_0-1646430981994.png

App with proper scaling in Landscape mode: Note App.Width=1194

DKassian_1-1646431017860.png

 

App with jumbled scaling in Portrait mode: Note App.Width has changed=578 (this changes depending on how zoomed in you were before rotating)

DKassian_3-1646431087354.png

 

App with jumbled scaling in Landscape mode: Note App.Width has changed=834 (this changes depending on how zoomed in you were before rotating)

DKassian_4-1646431138547.png

 

As the above screenshots show, the actual App.Width property is changing, meaning there is nothing you can do within the app to correct it. Controls that have a width of App.Width only scale to within the new smaller container. Zooming in a lot results in the app width being 50-150 which means it's basically a white screen with small amount of controls jumbled in the top left. This is happening on all iOS devices, including iPads and iPhones.

 

Either we need to have the ability to turn off pinch to zoom (which would be very nice, proper responsive apps do not need zoom) or the bug needs to be fixed so that the app container rotates properly.

1 REPLY 1
TheRobRush
Super User
Super User

Changing from portrait to landscape even in responsive mode, at least on Apple Products, seems to always be a 50/50 chance at whether or not it will work. I don't think it is anything you are doing and more likely how the device is sending info to your app. Hopefully gets fixed one day. Don't even have to have zoomed to trigger this issue, can open it, and not touch screen then rotate it back and forth 10 times, and a handful of times it will not render properly, every time.

_____________________________________________________________________________________
Like my answer? - Hit that Thumbs Up. Resolved the Issue? - Hit Accept as Solution.
This helps others find solutions to future issues!

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

365 EduCon 768x460.png

Microsoft 365 EduCon

Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.

Users online (3,680)