<?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: Multiple Click Events using Chrome and Firefox in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/multiple-click-events-using-chrome-and-firefox/m-p/300553#M27587</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Jeff -&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am having a very similar issue where the click event is raised twice per actual mouse click.&amp;nbsp; Your jsfiddle reproduced the same issue for me too.&amp;nbsp; Did you ever find out what was to blame?&amp;nbsp; Or did you find a way to make a distinction between the 2 events to properly ignore one of them?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-Brian&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 26 Feb 2014 17:21:42 GMT</pubDate>
    <dc:creator>BrianRassier</dc:creator>
    <dc:date>2014-02-26T17:21:42Z</dc:date>
    <item>
      <title>Multiple Click Events using Chrome and Firefox</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/multiple-click-events-using-chrome-and-firefox/m-p/300546#M27580</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm having a bit of an issue with multiple click events returning on a single mouse click and single click events returning after a pan or double click in Chrome and Firefox.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://jsfiddle.net/jdmitz/ruFpH/" rel="nofollow" target="_blank"&gt;jsFiddle&lt;/A&gt;&lt;SPAN&gt; set up that shows this. I am logging the click events to the console so you will need to open developer tools to see the clicks. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is the javascript I am using:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;var map; var clickCount = 0; require([ &amp;nbsp;&amp;nbsp;&amp;nbsp; "esri/map", &amp;nbsp;&amp;nbsp;&amp;nbsp; "dojo/domReady!"],&amp;nbsp; function (Map) { &amp;nbsp;&amp;nbsp;&amp;nbsp; map = new Map("divMap", { &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; basemap: "topo", &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; center: [-89.5, 40], &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; zoom: 6 &amp;nbsp;&amp;nbsp;&amp;nbsp; }); &amp;nbsp;&amp;nbsp;&amp;nbsp; map.on("click", function(evt){ &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; console.log("Clicked" + (++clickCount)); &amp;nbsp;&amp;nbsp;&amp;nbsp; }); });&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm using the 3.6 API.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any suggestions for a fix?&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, 22 Aug 2013 18:44:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/multiple-click-events-using-chrome-and-firefox/m-p/300546#M27580</guid>
      <dc:creator>JeffMitzelfelt</dc:creator>
      <dc:date>2013-08-22T18:44:28Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Click Events using Chrome and Firefox</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/multiple-click-events-using-chrome-and-firefox/m-p/300547#M27581</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Jeff,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Are you saying click events fire when panning and double clicking in your fiddle?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I only get a click count on single clicks in FF and Chrome.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Aug 2013 20:04:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/multiple-click-events-using-chrome-and-firefox/m-p/300547#M27581</guid>
      <dc:creator>BenFousek</dc:creator>
      <dc:date>2013-08-22T20:04:55Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Click Events using Chrome and Firefox</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/multiple-click-events-using-chrome-and-firefox/m-p/300548#M27582</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I could not reproduce the issue using FireFox or Chrome either. Your code posted looks good to me. If more than one client event triggered by a single click, more than likely, you have defined the same event handler multiple times like in a loop. Check your code making sure an event handler only defined once.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Aug 2013 02:21:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/multiple-click-events-using-chrome-and-firefox/m-p/300548#M27582</guid>
      <dc:creator>JasonZou</dc:creator>
      <dc:date>2013-08-23T02:21:34Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Click Events using Chrome and Firefox</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/multiple-click-events-using-chrome-and-firefox/m-p/300549#M27583</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Jeff,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Even I could not reproduce the issue using FireFox or Chrome either. You might have defined the click event multiple times in your code. May be you have defined the click event of map in some other functionalities also, like....Identify or any other and they are increasing the count of click.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Aug 2013 03:38:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/multiple-click-events-using-chrome-and-firefox/m-p/300549#M27583</guid>
      <dc:creator>VinayBansal</dc:creator>
      <dc:date>2013-08-23T03:38:22Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Click Events using Chrome and Firefox</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/multiple-click-events-using-chrome-and-firefox/m-p/300550#M27584</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I still get extra click event logging when I use the &lt;/SPAN&gt;&lt;A href="http://jsfiddle.net/jdmitz/ruFpH/embedded/result/"&gt;jsfiddle&lt;/A&gt;&lt;SPAN&gt; on Firefox and Chrome.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm running 64-bit Win7 with Firefox 22.0 and Chrome Version 28.0.1500.95 m&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Still questing.&amp;nbsp; I'll try the fiddle on some other machines and see if there are differences.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for looking and reporting back!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Aug 2013 12:58:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/multiple-click-events-using-chrome-and-firefox/m-p/300550#M27584</guid>
      <dc:creator>JeffMitzelfelt</dc:creator>
      <dc:date>2013-08-23T12:58:00Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Click Events using Chrome and Firefox</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/multiple-click-events-using-chrome-and-firefox/m-p/300551#M27585</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm not getting the extra click event on IE 9.0.8112.16421, Chrome 29.1.1547.57, or Firefox 17.0.8 on Windows 7 Enterprise, Service Pack 1 with your new fiddle&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Aug 2013 13:24:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/multiple-click-events-using-chrome-and-firefox/m-p/300551#M27585</guid>
      <dc:creator>KenBuja</dc:creator>
      <dc:date>2013-08-23T13:24:52Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Click Events using Chrome and Firefox</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/multiple-click-events-using-chrome-and-firefox/m-p/300552#M27586</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Well it appears my machine is to blame. After testing on a couple of other systems the problem did not show up. I will attempt to diagnose what the issue may be but until someone else sees this problem it appears to be an isolated incident.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for the feed back.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Aug 2013 13:35:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/multiple-click-events-using-chrome-and-firefox/m-p/300552#M27586</guid>
      <dc:creator>JeffMitzelfelt</dc:creator>
      <dc:date>2013-08-23T13:35:30Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Click Events using Chrome and Firefox</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/multiple-click-events-using-chrome-and-firefox/m-p/300553#M27587</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Jeff -&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am having a very similar issue where the click event is raised twice per actual mouse click.&amp;nbsp; Your jsfiddle reproduced the same issue for me too.&amp;nbsp; Did you ever find out what was to blame?&amp;nbsp; Or did you find a way to make a distinction between the 2 events to properly ignore one of them?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-Brian&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Feb 2014 17:21:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/multiple-click-events-using-chrome-and-firefox/m-p/300553#M27587</guid>
      <dc:creator>BrianRassier</dc:creator>
      <dc:date>2014-02-26T17:21:42Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Click Events using Chrome and Firefox</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/multiple-click-events-using-chrome-and-firefox/m-p/300554#M27588</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I also started seeing this behavior over the last couple of weeks when using Chrome (41.0.2272.76).&amp;nbsp; The problem does not exist when I use IE (11.0.9600.17498).&amp;nbsp; It does appear to be related to my workstation though.&amp;nbsp; We tried it on another machine here at the office that is very similar and it did NOT exhibit the double events when using the same Chrome version.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Mar 2015 00:07:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/multiple-click-events-using-chrome-and-firefox/m-p/300554#M27588</guid>
      <dc:creator>EricWood2</dc:creator>
      <dc:date>2015-03-06T00:07:20Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Click Events using Chrome and Firefox</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/multiple-click-events-using-chrome-and-firefox/m-p/300555#M27589</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I found that the issue was my machine. I didn't pursue the matter much further. I tested today and found that Chrome (40.0.2214.111 m) and Opera (27.0.1689.76) gave me extra click events, while FireFox(36.0.1) and Internet Explorer (11.0.9600.17633) didn't. The mystery lingers on.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Mar 2015 21:27:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/multiple-click-events-using-chrome-and-firefox/m-p/300555#M27589</guid>
      <dc:creator>JeffMitzelfelt</dc:creator>
      <dc:date>2015-03-09T21:27:09Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Click Events using Chrome and Firefox</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/multiple-click-events-using-chrome-and-firefox/m-p/300556#M27590</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This appears to have been fixed in v3.10.&amp;nbsp; It still happens in 3.9 (the version I'm using for supporting an older app, of course), but not after that.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Apr 2016 18:28:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/multiple-click-events-using-chrome-and-firefox/m-p/300556#M27590</guid>
      <dc:creator>AlanHammersmith</dc:creator>
      <dc:date>2016-04-25T18:28:14Z</dc:date>
    </item>
  </channel>
</rss>

