Select to view content in your preferred language

Popup focus

2203
10
03-10-2017 06:46 AM
MathewSuran
New Contributor III

I have a point feature that when clicked on, generates a popup with a graphic.  The graphic is rather large so the whole popup is always cut off.  I looked through the documentation and I am not really sure on what to call it so I don't really know what I am looking for, but I am looking to have the map resize to automatically when a popup is active to be able to refocus on the popup to show the whole thing.  Anyone have any idea? 

0 Kudos
10 Replies
ThomasSolow
Regular Contributor

If you want to resize the map when the popup is opened, watching the visible property and manually resizing the map div sounds like a good bet.

Another thing to look at would be modifying the pop-up's size via CSS.  You can use dev tools to inspect the pop-up and see what classes are on it and then add some CSS to your project targeting those classes to override the esri CSS file.

Docking the popup might also help in 4.XX.

0 Kudos