Select to view content in your preferred language

EB not supporting landscape mode on medium devices?

214
2
Jump to solution
a week ago
KGalluccio
Regular Contributor

I originally posted this as a response to this post., from two years ago, which indicated at the time it was a bug.

I would assume most users will rotate a tablet (to landscape) when using a mapping application.  

I have a simple EB app with a text box and a map widget.
It has been updated for both medium and small devices.
On desktop, the text box is purple, on medium it is blue and on small it is orange.

When I view the app on a tablet holding it in portrait mode it shows the blue text box.  If I then rotate it to landscape it shows purple.  Same on a small device, viewed in portrait mode text box is orange, rotated it is blue.
So, the app will fall back to the bigger size version when rotating the device.

Here is the app

Images are attached showing the behavior.

Is this just considered working as expected?  I have an app that needs to run on a tablet but will not run the medium device version if I rotate the tablet.

 

0 Kudos
1 Solution

Accepted Solutions
JeffreyThompson2
MVP Frequent Contributor

The way websites usually resize themselves is by constantly asking the browser "How big is the window?" and, even more commonly, just "How wide is the window?" They usually do not know what actual device you are using or, at least, they don't use that information to resize the window. You can see Experience Builder switching between Desktop, Tablet and Mobile Mode by just manually resizing your browser. There is a lot of overlap in the size ranges of big tablet and small desktop. As long as the design is functional in both the Desktop and Tablet Modes, the application should work no matter how the user orients their tablet.

GIS Developer
City of Arlington, Texas

View solution in original post

0 Kudos
2 Replies
JeffreyThompson2
MVP Frequent Contributor

The way websites usually resize themselves is by constantly asking the browser "How big is the window?" and, even more commonly, just "How wide is the window?" They usually do not know what actual device you are using or, at least, they don't use that information to resize the window. You can see Experience Builder switching between Desktop, Tablet and Mobile Mode by just manually resizing your browser. There is a lot of overlap in the size ranges of big tablet and small desktop. As long as the design is functional in both the Desktop and Tablet Modes, the application should work no matter how the user orients their tablet.

GIS Developer
City of Arlington, Texas
0 Kudos
KGalluccio
Regular Contributor

Thanks for the info. 
In my case I have an app which I created for desktop that has functionality that some of which is not needed when the user is in the field.  My hope was to strip out some of this functionality for smaller devices. 
Does not look like this is possible and I will have to create a second app specific for the smaller devices.

0 Kudos