<?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 Strange Expand widget behaviour in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/strange-expand-widget-behaviour/m-p/551720#M51463</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;Maybe I'm doing something wrong. It seems that the Expand widget is not working as expected in the API 4.7. I went to one of Esri's sandbox examples:&amp;nbsp;&lt;A class="link-titled" href="https://developers.arcgis.com/javascript/latest/sample-code/sandbox/index.html?sample=frameworks-bootstrap" title="https://developers.arcgis.com/javascript/latest/sample-code/sandbox/index.html?sample=frameworks-bootstrap"&gt;ArcGIS API for JavaScript Sandbox&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've modified the code a little bit like so:&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/405880_pastedImage_4.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-3 jive-image" src="https://community.esri.com/legacyfs/online/405881_pastedImage_5.png" /&gt;&lt;/P&gt;&lt;P&gt;And when I&amp;nbsp;click the&amp;nbsp;&lt;IMG class="jive-image image-4" src="https://community.esri.com/legacyfs/online/405882_pastedImage_6.png" /&gt;&amp;nbsp;button I can see both Expand widgets added to the view. But, even though they are in the same group,&amp;nbsp;I can have both widgets expanded at the same time.&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/405878_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;I expect the lower Expand widget to collapse when I click the top one.&lt;/P&gt;&lt;P&gt;Must I set another property than "group"?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 07 May 2018 13:21:16 GMT</pubDate>
    <dc:creator>CarstenAndersson</dc:creator>
    <dc:date>2018-05-07T13:21:16Z</dc:date>
    <item>
      <title>Strange Expand widget behaviour</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/strange-expand-widget-behaviour/m-p/551720#M51463</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;Maybe I'm doing something wrong. It seems that the Expand widget is not working as expected in the API 4.7. I went to one of Esri's sandbox examples:&amp;nbsp;&lt;A class="link-titled" href="https://developers.arcgis.com/javascript/latest/sample-code/sandbox/index.html?sample=frameworks-bootstrap" title="https://developers.arcgis.com/javascript/latest/sample-code/sandbox/index.html?sample=frameworks-bootstrap"&gt;ArcGIS API for JavaScript Sandbox&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've modified the code a little bit like so:&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/405880_pastedImage_4.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-3 jive-image" src="https://community.esri.com/legacyfs/online/405881_pastedImage_5.png" /&gt;&lt;/P&gt;&lt;P&gt;And when I&amp;nbsp;click the&amp;nbsp;&lt;IMG class="jive-image image-4" src="https://community.esri.com/legacyfs/online/405882_pastedImage_6.png" /&gt;&amp;nbsp;button I can see both Expand widgets added to the view. But, even though they are in the same group,&amp;nbsp;I can have both widgets expanded at the same time.&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/405878_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;I expect the lower Expand widget to collapse when I click the top one.&lt;/P&gt;&lt;P&gt;Must I set another property than "group"?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 May 2018 13:21:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/strange-expand-widget-behaviour/m-p/551720#M51463</guid>
      <dc:creator>CarstenAndersson</dc:creator>
      <dc:date>2018-05-07T13:21:16Z</dc:date>
    </item>
    <item>
      <title>Re: Strange Expand widget behaviour</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/strange-expand-widget-behaviour/m-p/551721#M51464</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Carsten,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;You are just missing the view property in the Expand widgets properties:&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="keyword token"&gt;var&lt;/SPAN&gt; legendExpand &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;Expand&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
&amp;nbsp; view&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; view&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
&amp;nbsp; content&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;Legend&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;view&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; view&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;
&amp;nbsp; group&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"top-right"&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;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Once you add that to both your expand widget you should be good to go.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 23:52:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/strange-expand-widget-behaviour/m-p/551721#M51464</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2021-12-11T23:52:03Z</dc:date>
    </item>
    <item>
      <title>Re: Strange Expand widget behaviour</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/strange-expand-widget-behaviour/m-p/551722#M51465</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Of course! Thanks. Worked like a charm &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 May 2018 07:10:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/strange-expand-widget-behaviour/m-p/551722#M51465</guid>
      <dc:creator>CarstenAndersson</dc:creator>
      <dc:date>2018-05-09T07:10:37Z</dc:date>
    </item>
  </channel>
</rss>

