<?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: map.on click event fires two times in Firefox 29.0.1 (API for JavScript 3.9) in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/map-on-click-event-fires-two-times-in-firefox-29-0/m-p/514562#M48010</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;On mouse over and on mouse out seem to fire repeatedly also. I think Firefox 29 has issues&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 14 May 2014 11:33:03 GMT</pubDate>
    <dc:creator>JeffPace</dc:creator>
    <dc:date>2014-05-14T11:33:03Z</dc:date>
    <item>
      <title>map.on click event fires two times in Firefox 29.0.1 (API for JavScript 3.9)</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/map-on-click-event-fires-two-times-in-firefox-29-0/m-p/514561#M48009</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When I click on map, using API Javascript 3.9 and Firefox 29.0.1, that there is defined a map.on event click, the event fires two times. In Google Chrome 34.0.1847.131 and IE 9.0.8112.16421 works fine (only one click event fires).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The test site is located here:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://cartoweb.cma.gva.es/test.html"&gt;http://cartoweb.cma.gva.es/test.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In Firefox, watching the JavaScript Console you can see that the event fires two times.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does anyone know what is going on? Is it a bug of Firefox? of API?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Pau Pérez Puigcerver&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://cartoweb.cma.gva.es"&gt;http://cartoweb.cma.gva.es&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 May 2014 11:04:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/map-on-click-event-fires-two-times-in-firefox-29-0/m-p/514561#M48009</guid>
      <dc:creator>PauPérez_Puigcerver</dc:creator>
      <dc:date>2014-05-14T11:04:08Z</dc:date>
    </item>
    <item>
      <title>Re: map.on click event fires two times in Firefox 29.0.1 (API for JavScript 3.9)</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/map-on-click-event-fires-two-times-in-firefox-29-0/m-p/514562#M48010</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;On mouse over and on mouse out seem to fire repeatedly also. I think Firefox 29 has issues&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 May 2014 11:33:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/map-on-click-event-fires-two-times-in-firefox-29-0/m-p/514562#M48010</guid>
      <dc:creator>JeffPace</dc:creator>
      <dc:date>2014-05-14T11:33:03Z</dc:date>
    </item>
    <item>
      <title>Re: map.on click event fires two times in Firefox 29.0.1 (API for JavScript 3.9)</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/map-on-click-event-fires-two-times-in-firefox-29-0/m-p/514563#M48011</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Interesting... I am also using Firefox 29.0.1 (on Win7 64) but am unable to replicate this issue. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;@Jeff, in the sample Pau linked, are you seeing the event fire twice?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 May 2014 18:14:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/map-on-click-event-fires-two-times-in-firefox-29-0/m-p/514563#M48011</guid>
      <dc:creator>JonathanUihlein</dc:creator>
      <dc:date>2014-05-14T18:14:18Z</dc:date>
    </item>
    <item>
      <title>Re: map.on click event fires two times in Firefox 29.0.1 (API for JavScript 3.9)</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/map-on-click-event-fires-two-times-in-firefox-29-0/m-p/514564#M48012</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;in firefox 29.0.1 i am only seeing one logged event per click&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 May 2014 18:27:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/map-on-click-event-fires-two-times-in-firefox-29-0/m-p/514564#M48012</guid>
      <dc:creator>JeffPace</dc:creator>
      <dc:date>2014-05-14T18:27:35Z</dc:date>
    </item>
    <item>
      <title>Re: map.on click event fires two times in Firefox 29.0.1 (API for JavScript 3.9)</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/map-on-click-event-fires-two-times-in-firefox-29-0/m-p/514565#M48013</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have Windows Vista SP2 and a colleague of mine who has tested the site has had the same error. He has the same verions and operating system.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I attach an image how the event fires in one click.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 May 2014 06:38:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/map-on-click-event-fires-two-times-in-firefox-29-0/m-p/514565#M48013</guid>
      <dc:creator>PauPérez_Puigcerver</dc:creator>
      <dc:date>2014-05-15T06:38:38Z</dc:date>
    </item>
    <item>
      <title>Re: map.on click event fires two times in Firefox 29.0.1 (API for JavScript 3.9)</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/map-on-click-event-fires-two-times-in-firefox-29-0/m-p/514566#M48014</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have a temporary workaround for the event that run two times.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var evento;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ................
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; function clickInfo (evt){
&amp;nbsp;&amp;nbsp; console.log("Clicked" + (++clickCount));
&amp;nbsp;&amp;nbsp; if (navigator.userAgent.indexOf('Firefox') !=-1){
&amp;nbsp;&amp;nbsp;&amp;nbsp; evento.remove();
&amp;nbsp;&amp;nbsp;&amp;nbsp; setTimeout(function(){evento = map.on("click", clickInfo);}, 500);
&amp;nbsp;&amp;nbsp; }
&amp;nbsp; }

&amp;nbsp; evento = map.on("click", clickInfo);&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The website is:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://cartoweb.cma.gva.es/test.html" rel="nofollow noopener noreferrer" target="_blank"&gt;http://cartoweb.cma.gva.es/test.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Pau Pérez Puigcerver&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://cartoweb.cma.gva.es" rel="nofollow noopener noreferrer" target="_blank"&gt;http://cartoweb.cma.gva.es&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 22:29:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/map-on-click-event-fires-two-times-in-firefox-29-0/m-p/514566#M48014</guid>
      <dc:creator>PauPérez_Puigcerver</dc:creator>
      <dc:date>2021-12-11T22:29:29Z</dc:date>
    </item>
  </channel>
</rss>

