<?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: Event not triggering when clicked on layer in chrome browser in windows and linux in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/event-not-triggering-when-clicked-on-layer-in/m-p/1271484#M80662</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/668543"&gt;@varun&lt;/a&gt;&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am experiencing the same issue. So, I wanted to find out if you have gotten any clarity on your question?&lt;BR /&gt;&lt;BR /&gt;Any advice/information would be most appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
    <pubDate>Fri, 24 Mar 2023 18:34:43 GMT</pubDate>
    <dc:creator>KELLY-ILE</dc:creator>
    <dc:date>2023-03-24T18:34:43Z</dc:date>
    <item>
      <title>Event not triggering when clicked on layer in chrome browser in windows and linux</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/event-not-triggering-when-clicked-on-layer-in/m-p/1270304#M80617</link>
      <description>&lt;P&gt;I am working with Arc GIS javascript API on a react application. When clicked on a feature layer a subsequent event occurs. It is working fine in chrome in mac machine. But on windows and linux the event is not triggering. In linux chrome browser a warning appears as.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;`WebGL: INVALID_OPERATION: getBufferSubData: no buffer&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT color="#FF6600"&gt;&amp;nbsp;&lt;FONT color="#000000"&gt;But in window chrome no such warning is seen in console. All the chrome versions are upto date.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT color="#000000"&gt;I am using this method to trigger click event&lt;BR /&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;/*function getAsset(response: any) {
    if (response.results.length &amp;gt; 0) {
      const title = response.results[0]?.graphic?.layer?.title;
      if (title === "something") {
        // Do some actions here!
        console.log("Do some actions here!");
        // dispatch();
      }
    }
  }*/
// ...
// Inside useEffect hook
view.on("click", async (evt: any) {
    const screenPoint = evt.screenPoint;
    const response = await view.hitTest(screenPoint);
    // The 'response.result' is empty on linux.
    getAsset(response);
})&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Mar 2023 08:05:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/event-not-triggering-when-clicked-on-layer-in/m-p/1270304#M80617</guid>
      <dc:creator>varun</dc:creator>
      <dc:date>2023-03-23T08:05:06Z</dc:date>
    </item>
    <item>
      <title>Re: Event not triggering when clicked on layer in chrome browser in windows and linux</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/event-not-triggering-when-clicked-on-layer-in/m-p/1271484#M80662</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/668543"&gt;@varun&lt;/a&gt;&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am experiencing the same issue. So, I wanted to find out if you have gotten any clarity on your question?&lt;BR /&gt;&lt;BR /&gt;Any advice/information would be most appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 24 Mar 2023 18:34:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/event-not-triggering-when-clicked-on-layer-in/m-p/1271484#M80662</guid>
      <dc:creator>KELLY-ILE</dc:creator>
      <dc:date>2023-03-24T18:34:43Z</dc:date>
    </item>
  </channel>
</rss>

