<?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 JavaScript API mouse events in an iframe in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/javascript-api-mouse-events-in-an-iframe/m-p/440280#M40576</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We have a JavaScript API application (3.8)&amp;nbsp; that has to live in an iframe.&amp;nbsp; The target browser is IE11 and everything works fine unless the cursor leaves the iframe in the midst of a pan.&amp;nbsp; The map gets frozen in pan mode and I have not been able to get the map events back in order.&amp;nbsp; You literally have to F5 but this is for a MS Dynamics driven customer service center app and they can't F5. &lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have even tried calling every internal method I can find just to see if I CAN fix it manually.&amp;nbsp; I have even been able to make a call to the internal navigationManager._panEnd(event)... which should unbind the mousemove handlers... with a valid event parameter and it still doesn't remove the handlers.&amp;nbsp; Can anyone suggest any kind of fix for this?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To reproduce this, just create a simple web page with an Esri map in the iframe...&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;html&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;div&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;iframe id='mapFrame' width=1240 height=640 src="&lt;A _jive_internal="true" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fdevelopers.arcgis.com%2Fjavascript%2Fsamples%2Fwidget_basemap%2F" rel="nofollow" target="_blank"&gt;http://developers.arcgis.com/javascript/samples/widget_basemap/&lt;/A&gt;"&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/iframe&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/div&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/body&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/html&amp;gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Start panning the map then move the cursor off the map iframe and mouse-up.&amp;nbsp; You are stuck.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 28 Oct 2014 18:09:17 GMT</pubDate>
    <dc:creator>AricMueller</dc:creator>
    <dc:date>2014-10-28T18:09:17Z</dc:date>
    <item>
      <title>JavaScript API mouse events in an iframe</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/javascript-api-mouse-events-in-an-iframe/m-p/440280#M40576</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We have a JavaScript API application (3.8)&amp;nbsp; that has to live in an iframe.&amp;nbsp; The target browser is IE11 and everything works fine unless the cursor leaves the iframe in the midst of a pan.&amp;nbsp; The map gets frozen in pan mode and I have not been able to get the map events back in order.&amp;nbsp; You literally have to F5 but this is for a MS Dynamics driven customer service center app and they can't F5. &lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have even tried calling every internal method I can find just to see if I CAN fix it manually.&amp;nbsp; I have even been able to make a call to the internal navigationManager._panEnd(event)... which should unbind the mousemove handlers... with a valid event parameter and it still doesn't remove the handlers.&amp;nbsp; Can anyone suggest any kind of fix for this?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To reproduce this, just create a simple web page with an Esri map in the iframe...&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;html&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;div&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;iframe id='mapFrame' width=1240 height=640 src="&lt;A _jive_internal="true" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fdevelopers.arcgis.com%2Fjavascript%2Fsamples%2Fwidget_basemap%2F" rel="nofollow" target="_blank"&gt;http://developers.arcgis.com/javascript/samples/widget_basemap/&lt;/A&gt;"&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/iframe&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/div&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/body&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/html&amp;gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Start panning the map then move the cursor off the map iframe and mouse-up.&amp;nbsp; You are stuck.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Oct 2014 18:09:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/javascript-api-mouse-events-in-an-iframe/m-p/440280#M40576</guid>
      <dc:creator>AricMueller</dc:creator>
      <dc:date>2014-10-28T18:09:17Z</dc:date>
    </item>
  </channel>
</rss>

