<?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 forceGfxRenderer:'canvas' = No Click Events on Graphics Layers in Developers Questions</title>
    <link>https://community.esri.com/t5/developers-questions/forcegfxrenderer-canvas-no-click-events-on/m-p/459493#M3084</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Has anyone else run into a 'click' event issues on ArcGIS JS API v3.14 to v3.16 when using Canvas rendering?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;var dojoConfig = {&lt;/P&gt;&lt;P&gt; forceGfxRenderer:'canvas'&lt;/P&gt;&lt;P&gt;};&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems that esri.css contains a style preventing events from being processed by canvas GraphicsLayers when forceGfxRenderer is set to 'canvas'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;.map .esriMapContainer .esriMapLayers &amp;gt; div {&lt;/P&gt;&lt;P&gt;&amp;nbsp; pointer-events: none;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://jsfiddle.net/fh4mxfgu/2/" title="https://jsfiddle.net/fh4mxfgu/2/"&gt;ArcGIS Canvas Graphics Layer Click Issue - JSFiddle&lt;/A&gt;&lt;/P&gt;&lt;P&gt;- Fiddle demonstrating the problem. console message would be logged if click was intercepted..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have worked around it now that we found this issue but this is the reason in case anyone else runs into this&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 26 Apr 2016 22:17:30 GMT</pubDate>
    <dc:creator>Patrick_Numainville</dc:creator>
    <dc:date>2016-04-26T22:17:30Z</dc:date>
    <item>
      <title>forceGfxRenderer:'canvas' = No Click Events on Graphics Layers</title>
      <link>https://community.esri.com/t5/developers-questions/forcegfxrenderer-canvas-no-click-events-on/m-p/459493#M3084</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Has anyone else run into a 'click' event issues on ArcGIS JS API v3.14 to v3.16 when using Canvas rendering?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;var dojoConfig = {&lt;/P&gt;&lt;P&gt; forceGfxRenderer:'canvas'&lt;/P&gt;&lt;P&gt;};&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems that esri.css contains a style preventing events from being processed by canvas GraphicsLayers when forceGfxRenderer is set to 'canvas'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;.map .esriMapContainer .esriMapLayers &amp;gt; div {&lt;/P&gt;&lt;P&gt;&amp;nbsp; pointer-events: none;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://jsfiddle.net/fh4mxfgu/2/" title="https://jsfiddle.net/fh4mxfgu/2/"&gt;ArcGIS Canvas Graphics Layer Click Issue - JSFiddle&lt;/A&gt;&lt;/P&gt;&lt;P&gt;- Fiddle demonstrating the problem. console message would be logged if click was intercepted..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have worked around it now that we found this issue but this is the reason in case anyone else runs into this&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Apr 2016 22:17:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/forcegfxrenderer-canvas-no-click-events-on/m-p/459493#M3084</guid>
      <dc:creator>Patrick_Numainville</dc:creator>
      <dc:date>2016-04-26T22:17:30Z</dc:date>
    </item>
    <item>
      <title>Re: forceGfxRenderer:'canvas' = No Click Events on Graphics Layers</title>
      <link>https://community.esri.com/t5/developers-questions/forcegfxrenderer-canvas-no-click-events-on/m-p/459494#M3085</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What's been your work-around?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm running into the same issue in API version 3.17.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 Aug 2016 23:59:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/forcegfxrenderer-canvas-no-click-events-on/m-p/459494#M3085</guid>
      <dc:creator>MikeNaughton2</dc:creator>
      <dc:date>2016-08-06T23:59:36Z</dc:date>
    </item>
    <item>
      <title>Re: forceGfxRenderer:'canvas' = No Click Events on Graphics Layers</title>
      <link>https://community.esri.com/t5/developers-questions/forcegfxrenderer-canvas-no-click-events-on/m-p/459495#M3086</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does anyone have any input on how to work around this issue? &amp;nbsp;Having same problem in 3.18.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Oct 2017 02:12:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/forcegfxrenderer-canvas-no-click-events-on/m-p/459495#M3086</guid>
      <dc:creator>LindaDunklee</dc:creator>
      <dc:date>2017-10-06T02:12:58Z</dc:date>
    </item>
    <item>
      <title>Re: forceGfxRenderer:'canvas' = No Click Events on Graphics Layers</title>
      <link>https://community.esri.com/t5/developers-questions/forcegfxrenderer-canvas-no-click-events-on/m-p/459496#M3087</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;After spending days developing a solution based on &lt;SPAN style="background-color: #ffffff;"&gt;forceGfxRenderer:'canvas' in 3.20 I too have discovered that events are not being generated for these graphics.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Is there a workaround ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;This also breaks the Edit tool.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Thanks.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Dec 2017 19:54:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/forcegfxrenderer-canvas-no-click-events-on/m-p/459496#M3087</guid>
      <dc:creator>jackcrawford</dc:creator>
      <dc:date>2017-12-22T19:54:48Z</dc:date>
    </item>
  </channel>
</rss>

