Enable mobile popup/infowindow for tablet Web AppBuilder

975
4
Jump to solution
02-28-2017 08:48 AM
CodyBarrett1
New Contributor II

I'm trying to avoid using mediaqueries in my CSS. I've scoured the internet trying to find out how to enable a mobile popup for a tablet in Web AppBuilder. Has anyone accomplished this?

0 Kudos
1 Solution

Accepted Solutions
RobertScheitlin__GISP
MVP Esteemed Contributor

You can also Change the breakPoints in the main.js file

View solution in original post

4 Replies
RobertScheitlin__GISP
MVP Esteemed Contributor

Cody,

   You can set the mobile break point in the url:

Use URL parameters—Web AppBuilder for ArcGIS | ArcGIS |Mobile Break Point 

CodyBarrett1
New Contributor II

Beautiful! That is exactly what I was searching for. I'm actually using WAB version 1.2(plan to upgrade), so mobileBreakPoint did not exist. However, there is a "widthBreaks" property that I changed.

jimuConfig = lang.mixin({
loadingId: 'main-loading',
layoutId: 'jimu-layout-manager',
mapId: 'map',
mainPageId: 'main-page',
timeout: 5000,
widthBreaks: [800, 1280]
}, jimuConfig);

Thanks Robert for your very quick response!

0 Kudos
RobertScheitlin__GISP
MVP Esteemed Contributor

Don't forget to mark this question as answered by clicking on the "Correct Answer" link on the reply that answered your question.

0 Kudos
RobertScheitlin__GISP
MVP Esteemed Contributor

You can also Change the breakPoints in the main.js file

View solution in original post