I need to disable mobile entirely. To many users have their browsers zoomed in and its forcing mobile. I am using the Foldable Theme.

2683
7
01-25-2016 06:52 AM
ChrisHawk
New Contributor II

To many users have their browsers zoomed in and it's forcing mobile. I am using the foldable theme.

Thanks

Tags (1)
0 Kudos
7 Replies
RobertScheitlin__GISP
MVP Emeritus

Chris,

  This would be a huge undertaking... You would have to re-code several jimu code files. You can search for "window.appInfo.isRunInMobile" to get an idea of the locations that WAB uses that var to make changes based on the detected mobile environment. And that is just the beginning of the changes...

You would be much better off educating your users.

0 Kudos
ChrisHawk
New Contributor II

As always thanks for a quick reply, Robert.

I took a look and was afraid this was the answer. I just wanted some outside confirmation that I wasn't missing something.

0 Kudos
ChristopherSchreiber
Occasional Contributor II

Is there anyway to decrease the threshold that must be crossed that enables mobile mode?

I know that it is 600 pixels by default.

Thanks!

0 Kudos
DavinShokes1
Occasional Contributor II

Adding the &mobileBreakPoint=200 to the AGOL items app url works for hosted web appbuilder apps. Give it a shot.

ChristopherSchreiber
Occasional Contributor II

Thanks!

I am using the Developer edition. I cannot find where the 600 pixel threshold is defined.

Chris

0 Kudos
RobertScheitlin__GISP
MVP Emeritus

Chris,

  Search for mobileBreakPoint in the jimu/main.js

0 Kudos
ChristopherSchreiber
Occasional Contributor II

Robert,

Thank you! I was able to locate and change the threshold.

Chris

0 Kudos