<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Map interface trashed if map div is hidden and browser resize occurs in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/map-interface-trashed-if-map-div-is-hidden-and/m-p/393634#M36319</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;FYI: the 3.14 have several fixes regarding &lt;SPAN style="color: #4d4d4d; font-family: 'Lucida Grande', 'Segoe UI', Arial, sans-serif; background-color: #fefefe;"&gt;map resizing, I think that includes fixing the issue posted here.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 17 Jul 2015 16:28:37 GMT</pubDate>
    <dc:creator>BjornSvensson</dc:creator>
    <dc:date>2015-07-17T16:28:37Z</dc:date>
    <item>
      <title>Map interface trashed if map div is hidden and browser resize occurs</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/map-interface-trashed-if-map-div-is-hidden-and/m-p/393632#M36317</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;As usual, I can't post code due to application on an intranet...working with an application that has 3 jQuery tabs: a chart, a table, and a map. The chart is the default tab. When the app is first opened I have to make the map tab active in order to initialize the map, then make the chart tab active.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It's been brought to my attention that if the user puts the browser in full-screen mode the map gets messed up. What I've noticed is that if the map tab is inactive and the browser window changes in size (full-screen toggle, zoom in, zoom out, reset to default) the map is irretrievably broken; if the map tab is visible the resize occurs without incident.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We're experimenting with a Bootstrap implementation where the map is in its own window; in some use cases the map is hidden and if the browser is resized the same problem occurs.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Map is set to autoResize; I've also tried listening for full-screen events and resizing/repositioning the map, and adding "data-dojo-type='dijit.layout.ContentPane'" to the map div.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Suggestions welcomed...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Feb 2014 15:35:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/map-interface-trashed-if-map-div-is-hidden-and/m-p/393632#M36317</guid>
      <dc:creator>TyroneLigon</dc:creator>
      <dc:date>2014-02-05T15:35:28Z</dc:date>
    </item>
    <item>
      <title>Re: Map interface trashed if map div is hidden and browser resize occurs</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/map-interface-trashed-if-map-div-is-hidden-and/m-p/393633#M36318</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;What I've done in the past is to assign a value of 200px to the min-height and min-width properties to the map div via css.&amp;nbsp; I believe this ensured that the map div sizes are not set to zero by external widgets when they are hidden.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Feb 2014 15:37:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/map-interface-trashed-if-map-div-is-hidden-and/m-p/393633#M36318</guid>
      <dc:creator>JohnGrayson</dc:creator>
      <dc:date>2014-02-06T15:37:43Z</dc:date>
    </item>
    <item>
      <title>Re: Map interface trashed if map div is hidden and browser resize occurs</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/map-interface-trashed-if-map-div-is-hidden-and/m-p/393634#M36319</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;FYI: the 3.14 have several fixes regarding &lt;SPAN style="color: #4d4d4d; font-family: 'Lucida Grande', 'Segoe UI', Arial, sans-serif; background-color: #fefefe;"&gt;map resizing, I think that includes fixing the issue posted here.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jul 2015 16:28:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/map-interface-trashed-if-map-div-is-hidden-and/m-p/393634#M36319</guid>
      <dc:creator>BjornSvensson</dc:creator>
      <dc:date>2015-07-17T16:28:37Z</dc:date>
    </item>
  </channel>
</rss>

