<?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 Hidden map becomes currupt after browser resize in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/hidden-map-becomes-currupt-after-browser-resize/m-p/391288#M36125</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a problem with a hidden map that becomes currupt after the browser is resized.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It works fine up to version 3.2 (&lt;/SPAN&gt;&lt;A href="http://serverapi.arcgisonline.com/jsapi/arcgis/?v=3.2"&gt;http://serverapi.arcgisonline.com/jsapi/arcgis/?v=3.2&lt;/A&gt;&lt;SPAN&gt;), but from 3.3 and above, the hidden map becomes currupt.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have created a jsFiddle to demonstrate: &lt;/SPAN&gt;&lt;A href="http://jsfiddle.net/wartiainen/kxWxb/12/"&gt;http://jsfiddle.net/wartiainen/kxWxb/12/&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;Now, here you will see that it is working fine. Hide the map with the hide button, and resize browser, the show map. All good.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Edit the html and put in &lt;/SPAN&gt;&lt;A href="http://serverapi.arcgisonline.com/jsapi/arcgis/?v=3.3"&gt;http://serverapi.arcgisonline.com/jsapi/arcgis/?v=3.3&lt;/A&gt;&lt;SPAN&gt;, run, and do the same thing as above. Then you will see that the map is no longer working. And you will find two errors in the browser debugger: &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #FF0000; font-family: Consolas;"&gt;Error: Invalid negative value for &amp;lt;svg&amp;gt; attribute width="-2"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #FF0000; font-family: Consolas;"&gt;Error: Invalid negative value for &amp;lt;svg&amp;gt; attribute height="-2"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any ideas on how to fix this?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anders...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 03 Jun 2013 13:11:54 GMT</pubDate>
    <dc:creator>AndersWartiainen</dc:creator>
    <dc:date>2013-06-03T13:11:54Z</dc:date>
    <item>
      <title>Hidden map becomes currupt after browser resize</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/hidden-map-becomes-currupt-after-browser-resize/m-p/391288#M36125</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a problem with a hidden map that becomes currupt after the browser is resized.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It works fine up to version 3.2 (&lt;/SPAN&gt;&lt;A href="http://serverapi.arcgisonline.com/jsapi/arcgis/?v=3.2"&gt;http://serverapi.arcgisonline.com/jsapi/arcgis/?v=3.2&lt;/A&gt;&lt;SPAN&gt;), but from 3.3 and above, the hidden map becomes currupt.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have created a jsFiddle to demonstrate: &lt;/SPAN&gt;&lt;A href="http://jsfiddle.net/wartiainen/kxWxb/12/"&gt;http://jsfiddle.net/wartiainen/kxWxb/12/&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;Now, here you will see that it is working fine. Hide the map with the hide button, and resize browser, the show map. All good.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Edit the html and put in &lt;/SPAN&gt;&lt;A href="http://serverapi.arcgisonline.com/jsapi/arcgis/?v=3.3"&gt;http://serverapi.arcgisonline.com/jsapi/arcgis/?v=3.3&lt;/A&gt;&lt;SPAN&gt;, run, and do the same thing as above. Then you will see that the map is no longer working. And you will find two errors in the browser debugger: &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #FF0000; font-family: Consolas;"&gt;Error: Invalid negative value for &amp;lt;svg&amp;gt; attribute width="-2"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #FF0000; font-family: Consolas;"&gt;Error: Invalid negative value for &amp;lt;svg&amp;gt; attribute height="-2"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any ideas on how to fix this?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anders...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Jun 2013 13:11:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/hidden-map-becomes-currupt-after-browser-resize/m-p/391288#M36125</guid>
      <dc:creator>AndersWartiainen</dc:creator>
      <dc:date>2013-06-03T13:11:54Z</dc:date>
    </item>
    <item>
      <title>Re: Hidden map becomes currupt after browser resize</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/hidden-map-becomes-currupt-after-browser-resize/m-p/391289#M36126</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It's a bug that we will fix for the next release of the API. The bug is caused by the automatic resize logic so in the meantime you can disable this by setting autoResize to false and handling the resize logic yourself. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt; &amp;nbsp; var map = new window.esri.Map("regobsmap", { extent: initialExtent, slider: true, autoResize:false, nav: true });&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Jun 2013 13:18:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/hidden-map-becomes-currupt-after-browser-resize/m-p/391289#M36126</guid>
      <dc:creator>KellyHutchins</dc:creator>
      <dc:date>2013-06-03T13:18:03Z</dc:date>
    </item>
    <item>
      <title>Re: Hidden map becomes currupt after browser resize</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/hidden-map-becomes-currupt-after-browser-resize/m-p/391290#M36127</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ok, thanks for the quick reply. &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anders...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Jun 2013 13:21:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/hidden-map-becomes-currupt-after-browser-resize/m-p/391290#M36127</guid>
      <dc:creator>AndersWartiainen</dc:creator>
      <dc:date>2013-06-03T13:21:56Z</dc:date>
    </item>
    <item>
      <title>Re: Hidden map becomes currupt after browser resize</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/hidden-map-becomes-currupt-after-browser-resize/m-p/391291#M36128</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Hutchins,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are facing same issue with js API 3.11, although we have handled map resize manually.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;We've put a quick example of this behaviour here: &lt;A href="http://jsfiddle.net/ZM3SM/164/"&gt;http://jsfiddle.net/ZM3SM/164/&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;But now the map extent is lost completely and we can see some error in developer tool. &lt;/P&gt;&lt;P&gt;:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;EM&gt;&lt;STRONG&gt;Error: Invalid value for &amp;lt;circle&amp;gt; attribute cx="NaN" &lt;/STRONG&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.esri.com/legacyfs/online/31823_Capture.PNG" style="width: 620px; height: 125px;" /&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Sumit Zarkar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Nov 2014 14:52:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/hidden-map-becomes-currupt-after-browser-resize/m-p/391291#M36128</guid>
      <dc:creator>sumitzarkar</dc:creator>
      <dc:date>2014-11-20T14:52:42Z</dc:date>
    </item>
  </channel>
</rss>

