<?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: PopupTemplate title vanishing in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/popuptemplate-title-vanishing/m-p/12227#M1163</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A href="https://community.esri.com/migrated-users/276480"&gt;Tyler Lawson&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This sounds weird. It is not the normal behavior. If you check the &lt;A class="link-titled" href="https://developers.arcgis.com/javascript/latest/sample-code/intro-popuptemplate/index.html" title="https://developers.arcgis.com/javascript/latest/sample-code/intro-popuptemplate/index.html"&gt;Intro to PopupTemplate&lt;/A&gt; in the &lt;A href="https://developers.arcgis.com/javascript/latest/sample-code/sandbox/index.html?sample=intro-popuptemplate"&gt;sandbox&lt;/A&gt;, which you have surely done, you will see the normal behavior is for the title to appear and to stay. I tested this in my favorite browser (Firefox), but it also runs in Internet Explorer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, we've got to find out where your application deviates from the functionality in this sample...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Can you share an application (i.e. in CodePen) to show the issue in real-time?&lt;/LI&gt;&lt;LI&gt;What browser or browsers are you using? Only modern ones, I hope &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Egge-Jan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 26 Mar 2020 10:45:59 GMT</pubDate>
    <dc:creator>Egge-Jan_Pollé</dc:creator>
    <dc:date>2020-03-26T10:45:59Z</dc:date>
    <item>
      <title>PopupTemplate title vanishing</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/popuptemplate-title-vanishing/m-p/12226#M1162</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have been in the process of updating an application from 4.6 to 4.14 and have noticed something weird happening with my popup templates. Whenever I click on a feature, it opens the popup but the title briefly appears before vanishing. It doesn't seem to be related to the features, featureLayer, or renderer as I created test objects of each and it acts the same.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Picture of blank title:&lt;BR /&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/486250_pastedImage_2.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Code for feature:&lt;/STRONG&gt;&lt;BR /&gt;var testFeatures = [];&lt;BR /&gt; var feature = {&lt;BR /&gt; Id: "Test",&lt;BR /&gt; geometry: new Point({&lt;BR /&gt; x: -96.8107,&lt;BR /&gt; y: 33.1509&lt;BR /&gt; }),&lt;BR /&gt; attributes: {&lt;BR /&gt; Name: "Test",&lt;BR /&gt; ObjectID: 1&lt;BR /&gt; }&lt;BR /&gt; };&lt;BR /&gt; testFeatures.push(feature);&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;FeatureLayer:&lt;/STRONG&gt;&lt;BR /&gt;var lyrTest = new FeatureLayer({&lt;BR /&gt; // create an instance of esri/layers/support/Field for each field object&lt;BR /&gt; fields: [&lt;BR /&gt; {&lt;BR /&gt; name: "ObjectID",&lt;BR /&gt; alias: "ObjectID",&lt;BR /&gt; type: "oid"&lt;BR /&gt; },&lt;BR /&gt; {&lt;BR /&gt; name: "Type",&lt;BR /&gt; alias: "Type",&lt;BR /&gt; type: "string"&lt;BR /&gt; } ,&lt;BR /&gt; {&lt;BR /&gt; name: "Name",&lt;BR /&gt; alias: "Name",&lt;BR /&gt; type: "string"&lt;BR /&gt; } &lt;BR /&gt; ],&lt;BR /&gt; objectIdField: "ObjectID",&lt;BR /&gt; geometryType: "point",&lt;BR /&gt; spatialReference: { wkid: 4326 },&lt;BR /&gt; source: testFeatures,&lt;BR /&gt; labelsVisible: true,&lt;BR /&gt; renderer: testRenderer,&lt;BR /&gt; id: "TestLayer"&lt;BR /&gt; });&lt;BR /&gt; lyrTest.popupTemplate = templateTest;&lt;BR /&gt; map.add(lyrTest);&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Renderer:&lt;/STRONG&gt;&lt;BR /&gt; var testRenderer = {&lt;BR /&gt; type: "unique-value",&lt;BR /&gt; field: "Name",&lt;BR /&gt; uniqueValueInfos: [&lt;BR /&gt; {&lt;BR /&gt; value: "Test", &lt;BR /&gt; symbol: new SimpleMarkerSymbol({&lt;BR /&gt; color: "blue",&lt;BR /&gt; outline: {&lt;BR /&gt; color: "blue",&lt;BR /&gt; width: 1&lt;BR /&gt; }&lt;BR /&gt; }),&lt;BR /&gt; label: "Test"&lt;BR /&gt; }&lt;BR /&gt; ]&lt;BR /&gt; };&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;PopupTemplate:&lt;BR /&gt;&lt;/STRONG&gt;var templateTest = {&lt;BR /&gt; title: "Test Title",&lt;BR /&gt; outFields: ["*"],&lt;BR /&gt; content: "This is a test"&lt;BR /&gt; };&lt;BR /&gt;&lt;BR /&gt;Any suggestions as to what could be going on would be appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Mar 2020 21:50:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/popuptemplate-title-vanishing/m-p/12226#M1162</guid>
      <dc:creator>TylerLawson</dc:creator>
      <dc:date>2020-03-25T21:50:15Z</dc:date>
    </item>
    <item>
      <title>Re: PopupTemplate title vanishing</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/popuptemplate-title-vanishing/m-p/12227#M1163</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A href="https://community.esri.com/migrated-users/276480"&gt;Tyler Lawson&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This sounds weird. It is not the normal behavior. If you check the &lt;A class="link-titled" href="https://developers.arcgis.com/javascript/latest/sample-code/intro-popuptemplate/index.html" title="https://developers.arcgis.com/javascript/latest/sample-code/intro-popuptemplate/index.html"&gt;Intro to PopupTemplate&lt;/A&gt; in the &lt;A href="https://developers.arcgis.com/javascript/latest/sample-code/sandbox/index.html?sample=intro-popuptemplate"&gt;sandbox&lt;/A&gt;, which you have surely done, you will see the normal behavior is for the title to appear and to stay. I tested this in my favorite browser (Firefox), but it also runs in Internet Explorer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, we've got to find out where your application deviates from the functionality in this sample...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Can you share an application (i.e. in CodePen) to show the issue in real-time?&lt;/LI&gt;&lt;LI&gt;What browser or browsers are you using? Only modern ones, I hope &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Egge-Jan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Mar 2020 10:45:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/popuptemplate-title-vanishing/m-p/12227#M1163</guid>
      <dc:creator>Egge-Jan_Pollé</dc:creator>
      <dc:date>2020-03-26T10:45:59Z</dc:date>
    </item>
    <item>
      <title>Re: PopupTemplate title vanishing</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/popuptemplate-title-vanishing/m-p/12228#M1164</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Egge,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am currently testing on the latest version of chrome. I have gone through all of the sample applications in the same browser and they seem to work as intended, so it doesn't seem to be a browser issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The main differences I can see in my application are that I am using multiple featureLayers populated&amp;nbsp; by client-side graphics and I am using a downloaded version of the SDK due to incompatibility with&amp;nbsp;Durandal. This does make sharing any representative test application somewhat difficult.&lt;BR /&gt;&lt;BR /&gt;Do you know of any outstanding issues regarding the downloaded SDK or any other functionality that could act as a work-around for displaying information?&lt;BR /&gt;&lt;BR /&gt;Sincerely,&lt;/P&gt;&lt;P&gt;Tyler Lawson&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Mar 2020 14:57:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/popuptemplate-title-vanishing/m-p/12228#M1164</guid>
      <dc:creator>TylerLawson</dc:creator>
      <dc:date>2020-03-26T14:57:12Z</dc:date>
    </item>
    <item>
      <title>Re: PopupTemplate title vanishing</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/popuptemplate-title-vanishing/m-p/12229#M1165</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A href="https://community.esri.com/migrated-users/276480"&gt;Tyler Lawson&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please note: I am not from Esri. Just another user who tries to think with you to solve the issue... &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; And the discussion is open to others to jump in with ideas and suggestions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for the additional information about your particular setup. My hypothesis was that it is not a bug in the ArcGIS API for JavaScript version 4.14 as such, as it seams to work under 'normal' circumstances. So, something else is causing the problem in your case...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;You are talking about Durandal, is that &lt;A class="link-titled" href="http://durandaljs.com/" title="http://durandaljs.com/"&gt;this Durandal&lt;/A&gt;? Could that be causing the issue?&lt;/LI&gt;&lt;LI&gt;Can you confirm that the 4.6 version of your application does work correctly in combination with Durandal, or are you introducing Durandal just now for the new version?&lt;/LI&gt;&lt;LI&gt;Any (error) messages in your console?&lt;/LI&gt;&lt;LI&gt;...&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let us know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Egge-Jan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Mar 2020 15:20:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/popuptemplate-title-vanishing/m-p/12229#M1165</guid>
      <dc:creator>Egge-Jan_Pollé</dc:creator>
      <dc:date>2020-03-26T15:20:32Z</dc:date>
    </item>
    <item>
      <title>Re: PopupTemplate title vanishing</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/popuptemplate-title-vanishing/m-p/12230#M1166</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your input. That is the Durandal that we are using, and it functioned as intended in the 4.6 version. I can go back and confirm that it was working correctly but I didn't notice any weird behavior until updating to 4.14, which is why I thought there might be some weird interplay with the downloaded SDK and Durandal.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Also there doesn't seem to be any errors in the console that are thrown.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Mar 2020 15:32:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/popuptemplate-title-vanishing/m-p/12230#M1166</guid>
      <dc:creator>TylerLawson</dc:creator>
      <dc:date>2020-03-26T15:32:19Z</dc:date>
    </item>
    <item>
      <title>Re: PopupTemplate title vanishing</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/popuptemplate-title-vanishing/m-p/12231#M1167</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hmmm, let's see. Maybe others have any suggestions..?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Mar 2020 16:32:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/popuptemplate-title-vanishing/m-p/12231#M1167</guid>
      <dc:creator>Egge-Jan_Pollé</dc:creator>
      <dc:date>2020-03-26T16:32:11Z</dc:date>
    </item>
  </channel>
</rss>

