<?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: Popup close and collapse buttons do not respond to mouse events. in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/popup-close-and-collapse-buttons-do-not-respond-to/m-p/1544925#M85810</link>
    <description>&lt;P&gt;This is likely the issue relkated to the @react-navigation/drawer package.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 02 Oct 2024 19:22:34 GMT</pubDate>
    <dc:creator>PavanMungara</dc:creator>
    <dc:date>2024-10-02T19:22:34Z</dc:date>
    <item>
      <title>Popup close and collapse buttons do not respond to mouse events.</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/popup-close-and-collapse-buttons-do-not-respond-to/m-p/1475804#M84671</link>
      <description>&lt;DIV class=""&gt;&lt;P&gt;I have &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/642472"&gt;@ArcGIS&lt;/a&gt;/code Version 4.29.10 loaded into my React PWA app. The primary functionality is to display base layers, graphics, and/or feature layers, with some layers having popup templates enabled.&lt;/P&gt;&lt;P&gt;Recently, our customers have reported issues with the popup not closing when clicked. Upon investigation, I noticed that both the close and collapse buttons do not respond to mouse events, although other buttons on the popup work fine.&lt;/P&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PavanMungara_0-1716229976424.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/104675iBE95C5F027DF2639/image-size/medium?v=v2&amp;amp;px=400" role="button" title="PavanMungara_0-1716229976424.png" alt="PavanMungara_0-1716229976424.png" /&gt;&lt;/span&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;P&gt;However, they work fine with taps on touch-enabled devices like iPads, as well as with keyboard events. This functionality was operating correctly at some point. How can I troubleshoot this issue?&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Note:&lt;/STRONG&gt; This appears to be an issue only on Chrome and Edge browsers. It works fine on Firefox.&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 20 May 2024 19:30:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/popup-close-and-collapse-buttons-do-not-respond-to/m-p/1475804#M84671</guid>
      <dc:creator>PavanMungara</dc:creator>
      <dc:date>2024-05-20T19:30:05Z</dc:date>
    </item>
    <item>
      <title>Re: Popup close and collapse buttons do not respond to mouse events.</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/popup-close-and-collapse-buttons-do-not-respond-to/m-p/1475815#M84672</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/796788"&gt;@PavanMungara&lt;/a&gt;, please provide a minimum reproducible application, more details on how to do this are available here:&amp;nbsp;&lt;A href="https://developers.arcgis.com/javascript/latest/troubleshooting/#minimal-reproducible-application" target="_blank"&gt;https://developers.arcgis.com/javascript/latest/troubleshooting/#minimal-reproducible-application&lt;/A&gt;.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 May 2024 19:48:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/popup-close-and-collapse-buttons-do-not-respond-to/m-p/1475815#M84672</guid>
      <dc:creator>AndyGup</dc:creator>
      <dc:date>2024-05-20T19:48:36Z</dc:date>
    </item>
    <item>
      <title>Re: Popup close and collapse buttons do not respond to mouse events.</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/popup-close-and-collapse-buttons-do-not-respond-to/m-p/1477659#M84700</link>
      <description>&lt;P&gt;hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/796788"&gt;@PavanMungara&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How to add a button in a popup window. Can you help&lt;/P&gt;</description>
      <pubDate>Thu, 23 May 2024 14:15:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/popup-close-and-collapse-buttons-do-not-respond-to/m-p/1477659#M84700</guid>
      <dc:creator>emreaktas1</dc:creator>
      <dc:date>2024-05-23T14:15:19Z</dc:date>
    </item>
    <item>
      <title>Re: Popup close and collapse buttons do not respond to mouse events.</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/popup-close-and-collapse-buttons-do-not-respond-to/m-p/1478669#M84716</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/791349"&gt;@emreaktas1&lt;/a&gt;&amp;nbsp;Check this example:&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/sample-code/popup-actions/" target="_blank"&gt;Popup actions | Sample Code | ArcGIS Maps SDK for JavaScript 4.29 | ArcGIS Developers&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 24 May 2024 21:11:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/popup-close-and-collapse-buttons-do-not-respond-to/m-p/1478669#M84716</guid>
      <dc:creator>PavanMungara</dc:creator>
      <dc:date>2024-05-24T21:11:26Z</dc:date>
    </item>
    <item>
      <title>Re: Popup close and collapse buttons do not respond to mouse events.</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/popup-close-and-collapse-buttons-do-not-respond-to/m-p/1478674#M84717</link>
      <description>&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/180"&gt;@AndyGup&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;I believe the issue is due to other libraries I am using in my project. I've created a minimal reproducible application; please let me know if you have any questions.&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;A href="https://github.com/npmun/react-navigation-drawer-arcgis" target="_blank" rel="noopener"&gt;npmun/react-navigation-drawer-arcgis (github.com)&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markdown"&gt;yarn install
yarn run start&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Click on the map to open the pop-up, and you will notice that the close button does not work.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 28 May 2024 07:12:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/popup-close-and-collapse-buttons-do-not-respond-to/m-p/1478674#M84717</guid>
      <dc:creator>PavanMungara</dc:creator>
      <dc:date>2024-05-28T07:12:31Z</dc:date>
    </item>
    <item>
      <title>Re: Popup close and collapse buttons do not respond to mouse events.</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/popup-close-and-collapse-buttons-do-not-respond-to/m-p/1479628#M84737</link>
      <description>&lt;P&gt;&amp;gt; I&amp;nbsp; believe the issue is due to other libraries I am using in my project&lt;BR /&gt;&lt;BR /&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/796788"&gt;@PavanMungara&lt;/a&gt;&amp;nbsp; agreed, without more information this doesn't seem to be an issue with the ArcGIS JS SDK. I wasn't able to repro your popup issue using our minimum React sample here: &lt;A href="https://github.com/Esri/jsapi-resources/tree/main/esm-samples/jsapi-react" target="_blank"&gt;https://github.com/Esri/jsapi-resources/tree/main/esm-samples/jsapi-react&lt;/A&gt;. I recommend you start with our minimal sample app and experiment with adding/removing 3rd party functionality until you can isolate this issue.&lt;/P&gt;</description>
      <pubDate>Tue, 28 May 2024 16:32:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/popup-close-and-collapse-buttons-do-not-respond-to/m-p/1479628#M84737</guid>
      <dc:creator>AndyGup</dc:creator>
      <dc:date>2024-05-28T16:32:25Z</dc:date>
    </item>
    <item>
      <title>Re: Popup close and collapse buttons do not respond to mouse events.</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/popup-close-and-collapse-buttons-do-not-respond-to/m-p/1480662#M84745</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/180"&gt;@AndyGup&lt;/a&gt;&amp;nbsp;The Issue happens when the map component is added to one of the react-navigation drawer routes (&lt;A href="https://www.npmjs.com/package/@react-navigation/drawer" target="_blank"&gt;@react-navigation/drawer - npm (npmjs.com))&lt;/A&gt;&lt;/P&gt;&lt;P&gt;It works okay when it is part of other routes like stack, tab...etc. Everything else works on the map except for the popup close and collapse buttons. Can you give some hints on what could be the issue here?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 30 May 2024 01:38:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/popup-close-and-collapse-buttons-do-not-respond-to/m-p/1480662#M84745</guid>
      <dc:creator>PavanMungara</dc:creator>
      <dc:date>2024-05-30T01:38:20Z</dc:date>
    </item>
    <item>
      <title>Re: Popup close and collapse buttons do not respond to mouse events.</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/popup-close-and-collapse-buttons-do-not-respond-to/m-p/1482194#M84763</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/796788"&gt;@PavanMungara&lt;/a&gt;my best guess without a repro sample that isolates the issue is this might be related to the click event handling in React or react-navigation/drawer. You could try researching issues in &lt;A href="https://github.com/react-navigation/react-navigation" target="_blank"&gt;https://github.com/react-navigation/react-navigation&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Fri, 31 May 2024 18:48:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/popup-close-and-collapse-buttons-do-not-respond-to/m-p/1482194#M84763</guid>
      <dc:creator>AndyGup</dc:creator>
      <dc:date>2024-05-31T18:48:02Z</dc:date>
    </item>
    <item>
      <title>Re: Popup close and collapse buttons do not respond to mouse events.</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/popup-close-and-collapse-buttons-do-not-respond-to/m-p/1482382#M84764</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/180"&gt;@AndyGup&lt;/a&gt;&amp;nbsp;I already created repro project, here it is…&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/npmun/react-navigation-drawer-arcgis" target="_blank"&gt;https://github.com/npmun/react-navigation-drawer-arcgis&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 01 Jun 2024 06:19:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/popup-close-and-collapse-buttons-do-not-respond-to/m-p/1482382#M84764</guid>
      <dc:creator>PavanMungara</dc:creator>
      <dc:date>2024-06-01T06:19:23Z</dc:date>
    </item>
    <item>
      <title>Re: Popup close and collapse buttons do not respond to mouse events.</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/popup-close-and-collapse-buttons-do-not-respond-to/m-p/1486303#M84815</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/796788"&gt;@PavanMungara&lt;/a&gt;I was able to reproduce the issue in your project, but I don't know what's causing it. I recommend coming at the problem from another direction. Start with a very basic, hello world React install with minimal dependencies, and then add functionality one at a time until it breaks. For example, when looking at your repro project, the &lt;A href="https://github.com/npmun/react-navigation-drawer-arcgis/blob/main/package.json" target="_self"&gt;package.json&lt;/A&gt; has 17 dependencies and 37 devDependencies. In comparison, the SDK's &lt;A href="https://github.com/Esri/jsapi-resources/blob/main/esm-samples/jsapi-react/package.json" target="_self"&gt;React sample&lt;/A&gt; has 3 dependencies, 4 devDependencies and no babel config or config overrides which makes it a better starting point for isolating issues.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jun 2024 15:20:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/popup-close-and-collapse-buttons-do-not-respond-to/m-p/1486303#M84815</guid>
      <dc:creator>AndyGup</dc:creator>
      <dc:date>2024-06-06T15:20:36Z</dc:date>
    </item>
    <item>
      <title>Re: Popup close and collapse buttons do not respond to mouse events.</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/popup-close-and-collapse-buttons-do-not-respond-to/m-p/1544925#M85810</link>
      <description>&lt;P&gt;This is likely the issue relkated to the @react-navigation/drawer package.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Oct 2024 19:22:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/popup-close-and-collapse-buttons-do-not-respond-to/m-p/1544925#M85810</guid>
      <dc:creator>PavanMungara</dc:creator>
      <dc:date>2024-10-02T19:22:34Z</dc:date>
    </item>
  </channel>
</rss>

