<?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: 4.22 Search Widget Menu Bug in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/4-22-search-widget-menu-bug/m-p/1141785#M76286</link>
    <description>&lt;P&gt;Looks good&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/169842"&gt;@Noah-Sager&lt;/a&gt;, thanks for the fix and the follow-up!&lt;/P&gt;</description>
    <pubDate>Tue, 08 Feb 2022 20:10:18 GMT</pubDate>
    <dc:creator>JoelBennett</dc:creator>
    <dc:date>2022-02-08T20:10:18Z</dc:date>
    <item>
      <title>4.22 Search Widget Menu Bug</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/4-22-search-widget-menu-bug/m-p/1137205#M76094</link>
      <description>&lt;P&gt;A bug exists in the &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Search.html" target="_self"&gt;Search&lt;/A&gt; widget such that when the sources menu is open, and you click the arrow button on the left of the widget (presumably to close it), the menu will close, and then immediately re-open.&amp;nbsp; This can be verified in the sample "&lt;A href="https://developers.arcgis.com/javascript/latest/sample-code/widgets-search-multiplesource/" target="_self"&gt;Search widget with multiple sources&lt;/A&gt;". This behavior has also been present in releases prior to 4.22, but the suggested fix below may not work in anything other than 4.22.&lt;/P&gt;&lt;P&gt;If you have a locally hosted copy of the API, you can fix this problem by doing the following find-and-replace in&amp;nbsp;esri/widgets/Search.js:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Search for:&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;onfocus:this._clearActiveMenu,afterCreate:G.storeNode,&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Replace with:&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;onfocus:function(){if(this.activeMenu!="source")this._clearActiveMenu();}.bind(this),afterCreate:G.storeNode,&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jan 2022 00:19:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/4-22-search-widget-menu-bug/m-p/1137205#M76094</guid>
      <dc:creator>JoelBennett</dc:creator>
      <dc:date>2022-01-26T00:19:46Z</dc:date>
    </item>
    <item>
      <title>Re: 4.22 Search Widget Menu Bug</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/4-22-search-widget-menu-bug/m-p/1137612#M76106</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/6522"&gt;@JoelBennett&lt;/a&gt;,&amp;nbsp;I'm not sure I understand the issue. The arrow button in the left side of the Search widget is for selecting different locators:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jan 2022 20:50:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/4-22-search-widget-menu-bug/m-p/1137612#M76106</guid>
      <dc:creator>Noah-Sager</dc:creator>
      <dc:date>2022-01-26T20:50:20Z</dc:date>
    </item>
    <item>
      <title>Re: 4.22 Search Widget Menu Bug</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/4-22-search-widget-menu-bug/m-p/1137614#M76107</link>
      <description>&lt;P&gt;Aloha&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/169842"&gt;@Noah-Sager&lt;/a&gt;, thanks for the follow-up.&amp;nbsp; To see the issue I'm talking about, (1) click the dropdown arrow so it lists the sources, then (2) without clicking any sources, click the dropdown arrow again.&amp;nbsp; It's expected that the dropdown would close, which it does, but unfortunately, opens again immediately.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jan 2022 20:55:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/4-22-search-widget-menu-bug/m-p/1137614#M76107</guid>
      <dc:creator>JoelBennett</dc:creator>
      <dc:date>2022-01-26T20:55:17Z</dc:date>
    </item>
    <item>
      <title>Re: 4.22 Search Widget Menu Bug</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/4-22-search-widget-menu-bug/m-p/1137633#M76110</link>
      <description>&lt;P&gt;Aloha? I wish. It's cold here. Ok, I see what you're talking about now. Let me do some digging.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jan 2022 21:35:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/4-22-search-widget-menu-bug/m-p/1137633#M76110</guid>
      <dc:creator>Noah-Sager</dc:creator>
      <dc:date>2022-01-26T21:35:26Z</dc:date>
    </item>
    <item>
      <title>Re: 4.22 Search Widget Menu Bug</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/4-22-search-widget-menu-bug/m-p/1141737#M76284</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/6522"&gt;@JoelBennett&lt;/a&gt;,&amp;nbsp;good news. We'll have the Search widget enhanced at the next release (4.23, due out in March) so that the expanded dropdown arrow now closes the list of locators instead of closing and then reopening. See it in action here:&amp;nbsp;&lt;A href="https://codepen.io/noash/pen/LYOWGGK?editors=1000" target="_blank" rel="noopener"&gt;https://codepen.io/noash/pen/LYOWGGK?editors=1000&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Feb 2022 20:15:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/4-22-search-widget-menu-bug/m-p/1141737#M76284</guid>
      <dc:creator>Noah-Sager</dc:creator>
      <dc:date>2022-02-08T20:15:34Z</dc:date>
    </item>
    <item>
      <title>Re: 4.22 Search Widget Menu Bug</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/4-22-search-widget-menu-bug/m-p/1141785#M76286</link>
      <description>&lt;P&gt;Looks good&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/169842"&gt;@Noah-Sager&lt;/a&gt;, thanks for the fix and the follow-up!&lt;/P&gt;</description>
      <pubDate>Tue, 08 Feb 2022 20:10:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/4-22-search-widget-menu-bug/m-p/1141785#M76286</guid>
      <dc:creator>JoelBennett</dc:creator>
      <dc:date>2022-02-08T20:10:18Z</dc:date>
    </item>
    <item>
      <title>Re: 4.22 Search Widget Menu Bug</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/4-22-search-widget-menu-bug/m-p/1141787#M76287</link>
      <description>&lt;P&gt;Excellent! Feel free to accept as solution the above post if you feel I've addressed the issue.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Feb 2022 20:15:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/4-22-search-widget-menu-bug/m-p/1141787#M76287</guid>
      <dc:creator>Noah-Sager</dc:creator>
      <dc:date>2022-02-08T20:15:18Z</dc:date>
    </item>
    <item>
      <title>Re: 4.22 Search Widget Menu Bug</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/4-22-search-widget-menu-bug/m-p/1141800#M76288</link>
      <description>&lt;P&gt;Certainly...will do once I've tested in the 4.23 release.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Feb 2022 20:51:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/4-22-search-widget-menu-bug/m-p/1141800#M76288</guid>
      <dc:creator>JoelBennett</dc:creator>
      <dc:date>2022-02-08T20:51:25Z</dc:date>
    </item>
    <item>
      <title>Re: 4.22 Search Widget Menu Bug</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/4-22-search-widget-menu-bug/m-p/1164200#M77009</link>
      <description>&lt;P&gt;After testing with 4.23, I've confirmed this one is fixed.&lt;/P&gt;&lt;P&gt;P.S.&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/169842"&gt;@Noah-Sager&lt;/a&gt;&amp;nbsp;if you'd like an easy kill for the 4.24 bug fix list, &lt;A href="https://community.esri.com/t5/arcgis-api-for-javascript-questions/4-19-uniquevaluerenderer-removeuniquevalueinfo-bug/m-p/1074484" target="_self"&gt;this one&lt;/A&gt; is still in play.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Apr 2022 23:35:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/4-22-search-widget-menu-bug/m-p/1164200#M77009</guid>
      <dc:creator>JoelBennett</dc:creator>
      <dc:date>2022-04-13T23:35:26Z</dc:date>
    </item>
  </channel>
</rss>

