<?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 PopupManager WAB Dev Edition  _onSelectionChange: Not Firing for Mobile in ArcGIS Web AppBuilder Questions</title>
    <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/popupmanager-wab-dev-edition-onselectionchange-not/m-p/263341#M6972</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;The navagation bars in the mobile popup are failing.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/357108_pastedImage_2.png" style="width: auto; height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;After navigtion button clicked I get the following.&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/357107_pastedImage_1.png" style="width: 620px; height: 179px;" /&gt;&lt;/P&gt;&lt;P&gt;I get the following nasty error message:&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-3 jive-image" src="https://community.esri.com/legacyfs/online/357111_pastedImage_5.png" style="width: 620px; height: 128px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think the error orginates in the &lt;STRONG&gt;PopupManager the&amp;nbsp; _onSelectionChange Event&lt;/STRONG&gt; &amp;nbsp;(line 99)is not firing as it should. The&amp;nbsp;&lt;SPAN&gt;_onSelectionChange Event calls the&amp;nbsp;&lt;STRONG&gt; this.initPopupMenu([this.selectedFeature]&lt;/STRONG&gt;); (line 121) with the selected feature.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I can tweak the work flow by running the app in a full broswer window and the reseting the window in Chrome Responsive tools for mobile and the &lt;STRONG&gt;mobile popup will behave as it should&lt;/STRONG&gt;. The&lt;STRONG&gt;_onSelectionChange Event &lt;/STRONG&gt;gets fired every time the navigtion button on the popup gets clicked and I get the expected results.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If I start the app with the&amp;nbsp; Chrome Responsive tools for mobile set the&amp;nbsp;&lt;STRONG&gt;onSelectionChange Event does not get fired.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It looks like the&amp;nbsp;&amp;nbsp;event is wired on line 96 &lt;STRONG&gt;&amp;nbsp;on(this.popupUnion.mobile, "selection-change", lang.hitch(this, this._onSelectionChange)); &lt;/STRONG&gt;But I can not fiquare out why the binding would not be working or if it is failing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas would be greatly apprecisted. - Robert have you ever seen this before?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Margo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 14 Jun 2017 19:02:59 GMT</pubDate>
    <dc:creator>MargoBlosser1</dc:creator>
    <dc:date>2017-06-14T19:02:59Z</dc:date>
    <item>
      <title>PopupManager WAB Dev Edition  _onSelectionChange: Not Firing for Mobile</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/popupmanager-wab-dev-edition-onselectionchange-not/m-p/263341#M6972</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;The navagation bars in the mobile popup are failing.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/357108_pastedImage_2.png" style="width: auto; height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;After navigtion button clicked I get the following.&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/357107_pastedImage_1.png" style="width: 620px; height: 179px;" /&gt;&lt;/P&gt;&lt;P&gt;I get the following nasty error message:&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-3 jive-image" src="https://community.esri.com/legacyfs/online/357111_pastedImage_5.png" style="width: 620px; height: 128px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think the error orginates in the &lt;STRONG&gt;PopupManager the&amp;nbsp; _onSelectionChange Event&lt;/STRONG&gt; &amp;nbsp;(line 99)is not firing as it should. The&amp;nbsp;&lt;SPAN&gt;_onSelectionChange Event calls the&amp;nbsp;&lt;STRONG&gt; this.initPopupMenu([this.selectedFeature]&lt;/STRONG&gt;); (line 121) with the selected feature.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I can tweak the work flow by running the app in a full broswer window and the reseting the window in Chrome Responsive tools for mobile and the &lt;STRONG&gt;mobile popup will behave as it should&lt;/STRONG&gt;. The&lt;STRONG&gt;_onSelectionChange Event &lt;/STRONG&gt;gets fired every time the navigtion button on the popup gets clicked and I get the expected results.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If I start the app with the&amp;nbsp; Chrome Responsive tools for mobile set the&amp;nbsp;&lt;STRONG&gt;onSelectionChange Event does not get fired.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It looks like the&amp;nbsp;&amp;nbsp;event is wired on line 96 &lt;STRONG&gt;&amp;nbsp;on(this.popupUnion.mobile, "selection-change", lang.hitch(this, this._onSelectionChange)); &lt;/STRONG&gt;But I can not fiquare out why the binding would not be working or if it is failing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas would be greatly apprecisted. - Robert have you ever seen this before?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Margo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jun 2017 19:02:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/popupmanager-wab-dev-edition-onselectionchange-not/m-p/263341#M6972</guid>
      <dc:creator>MargoBlosser1</dc:creator>
      <dc:date>2017-06-14T19:02:59Z</dc:date>
    </item>
  </channel>
</rss>

