<?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: [JSAPI 4.8 vs 4.7] Popup empty after switching map in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/jsapi-4-8-vs-4-7-popup-empty-after-switching-map/m-p/732106#M67848</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rene,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your quick reply.&amp;nbsp;Below are the browsers&amp;nbsp;in which I saw the issue:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Chrome v67.0.8896.99 64-bit&lt;/LI&gt;&lt;LI&gt;Chrome v66.0.3359.170 64-bit&lt;/LI&gt;&lt;LI&gt;Microsoft Edge v42.17134.1.0&lt;/LI&gt;&lt;LI&gt;Firefox v61.0.1&lt;/LI&gt;&lt;LI&gt;Firefox v60.0.2&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All the browsers mentioned above are in Windows 10 v1803 x64.&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/413880_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if you need additional info. Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 11 Jul 2018 14:50:15 GMT</pubDate>
    <dc:creator>QiZhao</dc:creator>
    <dc:date>2018-07-11T14:50:15Z</dc:date>
    <item>
      <title>[JSAPI 4.8 vs 4.7] Popup empty after switching map</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/jsapi-4-8-vs-4-7-popup-empty-after-switching-map/m-p/732104#M67846</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm updating my app to use latest v4.8 JSAPI, while I found a potential bug of the API. In my application, user can switch different webmaps without refresh the page. However, after switching the webmap once, the popup window of the webmap become empty.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This issue does not exist in v4.7 API.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="413764" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/413764_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The issue only happens after changing "map" of a "view".&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="comment token"&gt;//change map&lt;/SPAN&gt;
view&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;map &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;new&lt;/SPAN&gt; &lt;SPAN class="token class-name"&gt;WebMap&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
&amp;nbsp; portalItem&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; id&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"f2e9b762544945f390ca4ac3671cfa72"&lt;/SPAN&gt;
&amp;nbsp; &lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;
&lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;‍‍‍‍‍‍‍‍‍‍‍‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I create the view with WebMap in constructor, everything works fine. See the code below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="comment token"&gt;//do not change map&lt;/SPAN&gt;
view &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;new&lt;/SPAN&gt; &lt;SPAN class="token class-name"&gt;MapView&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
&amp;nbsp; container&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"viewDiv"&lt;/SPAN&gt;
&amp;nbsp; map&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;new&lt;/SPAN&gt; &lt;SPAN class="token class-name"&gt;WebMap&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; portalItem&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; id&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"f2e9b762544945f390ca4ac3671cfa72"&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;
&amp;nbsp; &lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
&lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is a running example:&lt;/P&gt;&lt;P&gt;&lt;A href="https://codepen.io/anon/pen/RBwqjz" rel="nofollow noopener noreferrer" target="_blank"&gt;https://codepen.io/anon/pen/RBwqjz&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steps to repeat the issue with this example:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Wait for the page fully loaded&lt;/LI&gt;&lt;LI&gt;Click "Switch Map" button&lt;/LI&gt;&lt;LI&gt;Wait for the new Web Map fully loaded&lt;/LI&gt;&lt;LI&gt;Click any graphics of the Web Map&lt;/LI&gt;&lt;LI&gt;The first popup should look fine&lt;/LI&gt;&lt;LI&gt;Close the popup&lt;/LI&gt;&lt;LI&gt;Click any graphics, then the popup will be all empty&lt;/LI&gt;&lt;/OL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 07:14:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/jsapi-4-8-vs-4-7-popup-empty-after-switching-map/m-p/732104#M67846</guid>
      <dc:creator>QiZhao</dc:creator>
      <dc:date>2021-12-12T07:14:55Z</dc:date>
    </item>
    <item>
      <title>Re: [JSAPI 4.8 vs 4.7] Popup empty after switching map</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/jsapi-4-8-vs-4-7-popup-empty-after-switching-map/m-p/732105#M67847</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just to verify, this is happening for me in Edge and Firefox on Windows. But Chrome is ok. Is that the same for you?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jul 2018 02:10:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/jsapi-4-8-vs-4-7-popup-empty-after-switching-map/m-p/732105#M67847</guid>
      <dc:creator>ReneRubalcava</dc:creator>
      <dc:date>2018-07-11T02:10:26Z</dc:date>
    </item>
    <item>
      <title>Re: [JSAPI 4.8 vs 4.7] Popup empty after switching map</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/jsapi-4-8-vs-4-7-popup-empty-after-switching-map/m-p/732106#M67848</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rene,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your quick reply.&amp;nbsp;Below are the browsers&amp;nbsp;in which I saw the issue:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Chrome v67.0.8896.99 64-bit&lt;/LI&gt;&lt;LI&gt;Chrome v66.0.3359.170 64-bit&lt;/LI&gt;&lt;LI&gt;Microsoft Edge v42.17134.1.0&lt;/LI&gt;&lt;LI&gt;Firefox v61.0.1&lt;/LI&gt;&lt;LI&gt;Firefox v60.0.2&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All the browsers mentioned above are in Windows 10 v1803 x64.&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/413880_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if you need additional info. Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jul 2018 14:50:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/jsapi-4-8-vs-4-7-popup-empty-after-switching-map/m-p/732106#M67848</guid>
      <dc:creator>QiZhao</dc:creator>
      <dc:date>2018-07-11T14:50:15Z</dc:date>
    </item>
    <item>
      <title>Re: [JSAPI 4.8 vs 4.7] Popup empty after switching map</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/jsapi-4-8-vs-4-7-popup-empty-after-switching-map/m-p/732107#M67849</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This issue has been fixed in v4.9 API. Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Sep 2018 14:55:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/jsapi-4-8-vs-4-7-popup-empty-after-switching-map/m-p/732107#M67849</guid>
      <dc:creator>QiZhao</dc:creator>
      <dc:date>2018-09-28T14:55:11Z</dc:date>
    </item>
  </channel>
</rss>

