<?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: version 4.10 of Javascript API, GraphicsLayer items truncated in HTML5, CSS, JavaScript, and JavaScript Frameworks</title>
    <link>https://community.esri.com/t5/html5-css-javascript-and-javascript-frameworks/version-4-10-of-javascript-api-graphicslayer-items/m-p/768189#M4</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please share your code? Reproducible case? I am not able to reproduce the issue using &lt;A href="https://developers.arcgis.com/javascript/latest/sample-code/sketch-geometries/live/index.html"&gt;Sketch widget sample&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;-Undral&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 08 Jan 2019 21:51:01 GMT</pubDate>
    <dc:creator>UndralBatsukh</dc:creator>
    <dc:date>2019-01-08T21:51:01Z</dc:date>
    <item>
      <title>version 4.10 of Javascript API, GraphicsLayer items truncated</title>
      <link>https://community.esri.com/t5/html5-css-javascript-and-javascript-frameworks/version-4-10-of-javascript-api-graphicslayer-items/m-p/768188#M3</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sharing a tip/bug report:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had an issue with simple line graphics drawn in a graphics layer sometimes, but not always, being truncated.&amp;nbsp; There seems to be some dependence on the view extents since subtle changes in the map's extent trigger the problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After hours of painstaking trial and error I deduced that the problem is actually with version 4.10.&amp;nbsp; Rolling back to version 4.9 completely solved the problem.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Dec 2018 00:57:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/html5-css-javascript-and-javascript-frameworks/version-4-10-of-javascript-api-graphicslayer-items/m-p/768188#M3</guid>
      <dc:creator>XavierIrias</dc:creator>
      <dc:date>2018-12-21T00:57:15Z</dc:date>
    </item>
    <item>
      <title>Re: version 4.10 of Javascript API, GraphicsLayer items truncated</title>
      <link>https://community.esri.com/t5/html5-css-javascript-and-javascript-frameworks/version-4-10-of-javascript-api-graphicslayer-items/m-p/768189#M4</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please share your code? Reproducible case? I am not able to reproduce the issue using &lt;A href="https://developers.arcgis.com/javascript/latest/sample-code/sketch-geometries/live/index.html"&gt;Sketch widget sample&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;-Undral&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jan 2019 21:51:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/html5-css-javascript-and-javascript-frameworks/version-4-10-of-javascript-api-graphicslayer-items/m-p/768189#M4</guid>
      <dc:creator>UndralBatsukh</dc:creator>
      <dc:date>2019-01-08T21:51:01Z</dc:date>
    </item>
    <item>
      <title>Re: version 4.10 of Javascript API, GraphicsLayer items truncated</title>
      <link>https://community.esri.com/t5/html5-css-javascript-and-javascript-frameworks/version-4-10-of-javascript-api-graphicslayer-items/m-p/768190#M5</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Okay, I'm a little closer to resolving this one.&amp;nbsp; I had a polyfill for Array.prototype.remove which seems to be incompatible with version 4.10 of the API.&amp;nbsp; Removing the polyfill solved the problem ( I think ).&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So as&amp;nbsp; a guess, version 4.10 is conditionally polyfilling this same function but with a different implementation.&amp;nbsp; The one that was not compatible returns a new array with the indicated element removed.&amp;nbsp; Possibly version 4.10 returns the same array but with an item removed and gets confused if array is new.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jan 2019 00:59:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/html5-css-javascript-and-javascript-frameworks/version-4-10-of-javascript-api-graphicslayer-items/m-p/768190#M5</guid>
      <dc:creator>XavierIrias</dc:creator>
      <dc:date>2019-01-29T00:59:31Z</dc:date>
    </item>
  </channel>
</rss>

