<?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 TextSymbol bug when using halo in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/textsymbol-bug-when-using-halo/m-p/412372#M38000</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've noticed that when using halos with a TextSymbol that the filter definition in the svg node&amp;nbsp;can become out of sync in terms of width and height when resizing the map. This results in labels not being visible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To reproduce first resize your browser (I'm using Chrome) to a small width and height and then open the following jsbin.&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://jsbin.com/mizuluv/2/edit?html,output" title="https://jsbin.com/mizuluv/2/edit?html,output"&gt;JS Bin - Collaborative JavaScript Debugging&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then, draw a graphic and you'll see the label with halo. All is good&lt;/P&gt;&lt;P&gt;Next, maximize your browser and draw another polygon (preferably in an area that wasn't visible before). The graphic draws but the label does not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you inspect the elements you'll notice that the width and height of the filter no longer matches that of the svg.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/327386_textsymbol.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;For now, my workaround is to listen for the resize event on the map and manually set the width/height of that filter node.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the future would it be possible to have the API handle this for us?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 21 Feb 2017 17:52:56 GMT</pubDate>
    <dc:creator>Anonymous User</dc:creator>
    <dc:date>2017-02-21T17:52:56Z</dc:date>
    <item>
      <title>TextSymbol bug when using halo</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/textsymbol-bug-when-using-halo/m-p/412372#M38000</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've noticed that when using halos with a TextSymbol that the filter definition in the svg node&amp;nbsp;can become out of sync in terms of width and height when resizing the map. This results in labels not being visible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To reproduce first resize your browser (I'm using Chrome) to a small width and height and then open the following jsbin.&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://jsbin.com/mizuluv/2/edit?html,output" title="https://jsbin.com/mizuluv/2/edit?html,output"&gt;JS Bin - Collaborative JavaScript Debugging&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then, draw a graphic and you'll see the label with halo. All is good&lt;/P&gt;&lt;P&gt;Next, maximize your browser and draw another polygon (preferably in an area that wasn't visible before). The graphic draws but the label does not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you inspect the elements you'll notice that the width and height of the filter no longer matches that of the svg.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/327386_textsymbol.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;For now, my workaround is to listen for the resize event on the map and manually set the width/height of that filter node.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the future would it be possible to have the API handle this for us?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Feb 2017 17:52:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/textsymbol-bug-when-using-halo/m-p/412372#M38000</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2017-02-21T17:52:56Z</dc:date>
    </item>
  </channel>
</rss>

