AnsweredAssumed Answered

How to hide the popup that appeared at 3.17?

Question asked by jondoigdev on Jun 27, 2016
Latest reply on Oct 31, 2016 by jondoigdev

I've been developing a web app on ArcGIS for JS 3.16. I just noticed that 3.17 has been released so I tried loading that instead of 3.16. It seems to work fine except that the bottom edge of a popup window is now visible on map load. I don't use popups in my app at all.

 

Why is it appearing and how should I hide it? I tried map.infoWindow.hide() to no avail. I guess I could fiddle with the CSS but I'm more inclined to simply revert to 3.16.

 

Top left corner with v3.16:

ArcGIS4JS3.16.screenshot.JPG

 

Top left corner with v3.17 (with the element "inspected" in Chrome Developer Tools):

ArcGIS4JS3.17.screenshot.JPG

 

Here are the functions I load - do I need to set an option to disable popups on one of these?

 

  require([

        "esri/map",

        "esri/dijit/HomeButton",

        "esri/layers/FeatureLayer",

        "esri/geometry/Extent",

        "esri/geometry/Point",

        "esri/symbols/TextSymbol",

        "esri/symbols/Font",

        "esri/layers/LabelClass",

        "esri/Color",

        "esri/symbols/SimpleMarkerSymbol",

        "esri/renderers/SimpleRenderer",

        "esri/symbols/SimpleFillSymbol",

        "esri/tasks/query",

        "esri/symbols/SimpleLineSymbol",

        "esri/dijit/LocateButton",

        "esri/tasks/locator",

        "dojo/domReady!"

Outcomes