<?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: Sketch widget and Expand widget not playing nice in 4.30/angular? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/sketch-widget-and-expand-widget-not-playing-nice/m-p/1521502#M85348</link>
    <description>&lt;P&gt;I am using map-components-react 4.30. I can't get graphics to display after sketching. The in-progress graphics are rendered fine, but when the sketching is completed, the graphic disappears. It's similar to this issue here:&amp;nbsp;&lt;A href="https://github.com/Esri/esri-loader/issues/262" target="_blank"&gt;https://github.com/Esri/esri-loader/issues/262&lt;/A&gt;. Don't know if it's related to your issue.&lt;/P&gt;</description>
    <pubDate>Wed, 14 Aug 2024 13:38:16 GMT</pubDate>
    <dc:creator>TrishPeller</dc:creator>
    <dc:date>2024-08-14T13:38:16Z</dc:date>
    <item>
      <title>Sketch widget and Expand widget not playing nice in 4.30/angular?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/sketch-widget-and-expand-widget-not-playing-nice/m-p/1520927#M85340</link>
      <description>&lt;P&gt;I'm using ArcGIS SDK 4.30 with `web-components` seasoning. Sometimes `web-components-angular`, too.&lt;/P&gt;&lt;P&gt;When using `arcgis-sketch` component inside of an `arcgis-expand` container, the sketches seem to "register" in the `GraphicsLayer`. They are not visible on the map. They are selectable. See this Code Pen as an example (bottom-left sketch works fine without an expand, bottom-right sketch seems buggy with expand):&lt;/P&gt;&lt;P&gt;&lt;A href="https://codepen.io/vitale232/pen/WNqXMvg" target="_blank"&gt;https://codepen.io/vitale232/pen/WNqXMvg&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I've seen the same behavior in an Angular app that depends on `@arcgis/map-components-angular` as well. Just add this markup to the sample:&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/Esri/jsapi-resources/tree/main/component-samples/map-components/samples/angular" target="_blank"&gt;https://github.com/Esri/jsapi-resources/tree/main/component-samples/map-components/samples/angular&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;arcgis-expand expanded position="bottom-right"&amp;gt;
  &amp;lt;arcgis-sketch&amp;gt;&amp;lt;/arcgis-sketch&amp;gt;
&amp;lt;/arcgis-expand&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Interestingly, I have an Angular component library with a public API similar to that of the `map-components` packages. The Sketch widget simply doesn't work &lt;A href="https://vhbesrimap.vhb.com/examples/user-shapes" target="_self"&gt;there&lt;/A&gt; on 4.29+. Clicking on one of the Sketch tools never activates it.&lt;/P&gt;&lt;P&gt;If I use devtools to inspect the `calcite-action` elements that makeup the sketch UI, it does appear the click events are firing correctly.&lt;/P&gt;&lt;P&gt;Has anyone else experienced odd behaviors with Sketch and Expand in `core` 4.29+ or `web-components` 4.30+? Does anyone else using Angular 15+ and ES Modules have similar issues? Any ideas on how to further troubleshoot this? Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 13 Aug 2024 22:57:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/sketch-widget-and-expand-widget-not-playing-nice/m-p/1520927#M85340</guid>
      <dc:creator>AndrewVitale</dc:creator>
      <dc:date>2024-08-13T22:57:54Z</dc:date>
    </item>
    <item>
      <title>Re: Sketch widget and Expand widget not playing nice in 4.30/angular?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/sketch-widget-and-expand-widget-not-playing-nice/m-p/1521502#M85348</link>
      <description>&lt;P&gt;I am using map-components-react 4.30. I can't get graphics to display after sketching. The in-progress graphics are rendered fine, but when the sketching is completed, the graphic disappears. It's similar to this issue here:&amp;nbsp;&lt;A href="https://github.com/Esri/esri-loader/issues/262" target="_blank"&gt;https://github.com/Esri/esri-loader/issues/262&lt;/A&gt;. Don't know if it's related to your issue.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Aug 2024 13:38:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/sketch-widget-and-expand-widget-not-playing-nice/m-p/1521502#M85348</guid>
      <dc:creator>TrishPeller</dc:creator>
      <dc:date>2024-08-14T13:38:16Z</dc:date>
    </item>
    <item>
      <title>Re: Sketch widget and Expand widget not playing nice in 4.30/angular?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/sketch-widget-and-expand-widget-not-playing-nice/m-p/1522626#M85386</link>
      <description>&lt;P&gt;Thanks for confirming the React behavior,&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/476107"&gt;@TrishPeller&lt;/a&gt;&amp;nbsp;!&lt;/P&gt;&lt;P&gt;That issue rings a bell—probably because I was the one who filed it a few years back &lt;span class="lia-unicode-emoji" title=":grinning_face_with_sweat:"&gt;😅&lt;/span&gt;. It's funny how these things come full circle. I wonder if we might catch the attention of a maintainer on this one?&lt;/P&gt;</description>
      <pubDate>Thu, 15 Aug 2024 22:41:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/sketch-widget-and-expand-widget-not-playing-nice/m-p/1522626#M85386</guid>
      <dc:creator>AndrewVitale</dc:creator>
      <dc:date>2024-08-15T22:41:37Z</dc:date>
    </item>
    <item>
      <title>Re: Sketch widget and Expand widget not playing nice in 4.30/angular?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/sketch-widget-and-expand-widget-not-playing-nice/m-p/1525252#M85457</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/134519"&gt;@AndrewVitale&lt;/a&gt;&amp;nbsp;for bringing this issue to our attention! We've just installed a fix for this bug in the 4.31 version of map components. You can test it out by using the &lt;A href="https://github.com/Esri/feedback-js-api-next/tree/main" target="_self"&gt;/next development version&lt;/A&gt; of the CDN.&lt;/P&gt;&lt;P&gt;Here's an updated version of your example using the /next release:&amp;nbsp;&lt;A href="https://codepen.io/annefitz/pen/NWZYMRW?editors=1000" target="_blank"&gt;https://codepen.io/annefitz/pen/NWZYMRW?editors=1000&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Aug 2024 17:23:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/sketch-widget-and-expand-widget-not-playing-nice/m-p/1525252#M85457</guid>
      <dc:creator>AnneFitz</dc:creator>
      <dc:date>2024-08-21T17:23:35Z</dc:date>
    </item>
  </channel>
</rss>

