Select to view content in your preferred language

WAB - popup box inconsistent sizes

11936
11
Jump to solution
02-09-2015 08:40 AM
StanMcShinsky
Regular Contributor

I am using web Appbuilder v.1 and when I identify on multiple layers I get a popup box that has an arrow to cycle through the identified features.

The problem is that when I click on the arrow to go to the next identified result the size of the box changes and the next arrow moves either up or down. It looks like the box is adjusting its size from  the center. So when you go from a big box to a small box the top and bottom condense towards the middle. I also noticed this same behavior on ArcGIS online.

Is there a way to only have the bottom slide up or to automatically have a set size so there is no adjustment on the box size as results are cycled through?

ems1.jpg

parcel2.jpg

I have noticed this esri javascript example to kinda work the way I was thinking Popups with related records

It has the arrow pointing to the selected feature at the top of the popup. (as a side note it works once you got to the second selected feature)

sample1.jpg

0 Kudos
11 Replies
StanMcShinsky
Regular Contributor

Warren Medernach

It looks like that works great. I must have been putting it in the wrong place. Thanks.

Stan

0 Kudos
LisaT
by
Occasional Contributor III

Hi, I would like to completely disable the mobile popup from my Enterprise Portal WAB apps. I can do this in my development environment by following what you say here, and other places, and edit the MapManager.js file to this.isMobileInfoWindow = true; as well as resize().  However, when i try to make those changes in Portal I see that the MapManager.js file is minified!  This is making it hard for me to correctly change the resetInfoWindow function.  I have added ";this.map.infoWindow.resize(300,200); at the end of the function and have also tried adding  "this.isMobileInfoWindow=!0" in various places.  It seems to have no effect.  In looking at the chrome dev tool, I do not even see where MapManager is being used and so I cannot inspect it.  Any ideas on how to change Portal to NEVER use the mobile popup?  The mobile popup does not show actions, which causes a problem.  If there is a way to add actions to the mobile popup that could be another solution...

0 Kudos