<?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 Selected feature/popup NOT correct in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/selected-feature-popup-not-correct/m-p/1234432#M79423</link>
    <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;Reproduce steps:&amp;nbsp;&lt;/STRONG&gt;&lt;/U&gt;&lt;STRONG&gt;codepen:&lt;/STRONG&gt;&lt;STRONG&gt;&lt;A href="https://codepen.io/michaelk95/pen/abKoGxz" target="_blank" rel="noopener"&gt;https://codepen.io/michaelk95/pen/abKoGxz&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;- A FeatureLayer displaying 40 graphics. Each 100ms a mocked update will be processed by&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;ApplyEdits&lt;/STRONG&gt;.&amp;nbsp;&lt;BR /&gt;- Click some assets and wait for the popup &amp;gt;&amp;nbsp;&lt;STRONG&gt;Each time (ms) the layer is updating the wrong popup is selected.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;My assumption:&lt;/STRONG&gt;&lt;/U&gt; Each time the layer is updated with applyEdits (updateFeatures), the index of a feature is changed in the background and a wrong asset is selected.&lt;/P&gt;&lt;P&gt;Can someone look into this? (It's quite a big issue with updating layers)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ezgif-2-4494bc4afb.gif" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/56680iE54187AD7EA66CB4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ezgif-2-4494bc4afb.gif" alt="ezgif-2-4494bc4afb.gif" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 23 Nov 2022 09:35:45 GMT</pubDate>
    <dc:creator>MichaelK1</dc:creator>
    <dc:date>2022-11-23T09:35:45Z</dc:date>
    <item>
      <title>Selected feature/popup NOT correct</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/selected-feature-popup-not-correct/m-p/1234432#M79423</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;Reproduce steps:&amp;nbsp;&lt;/STRONG&gt;&lt;/U&gt;&lt;STRONG&gt;codepen:&lt;/STRONG&gt;&lt;STRONG&gt;&lt;A href="https://codepen.io/michaelk95/pen/abKoGxz" target="_blank" rel="noopener"&gt;https://codepen.io/michaelk95/pen/abKoGxz&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;- A FeatureLayer displaying 40 graphics. Each 100ms a mocked update will be processed by&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;ApplyEdits&lt;/STRONG&gt;.&amp;nbsp;&lt;BR /&gt;- Click some assets and wait for the popup &amp;gt;&amp;nbsp;&lt;STRONG&gt;Each time (ms) the layer is updating the wrong popup is selected.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;My assumption:&lt;/STRONG&gt;&lt;/U&gt; Each time the layer is updated with applyEdits (updateFeatures), the index of a feature is changed in the background and a wrong asset is selected.&lt;/P&gt;&lt;P&gt;Can someone look into this? (It's quite a big issue with updating layers)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ezgif-2-4494bc4afb.gif" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/56680iE54187AD7EA66CB4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ezgif-2-4494bc4afb.gif" alt="ezgif-2-4494bc4afb.gif" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Nov 2022 09:35:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/selected-feature-popup-not-correct/m-p/1234432#M79423</guid>
      <dc:creator>MichaelK1</dc:creator>
      <dc:date>2022-11-23T09:35:45Z</dc:date>
    </item>
  </channel>
</rss>

