<?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: Popup in JSAPI 4.0 slightly shifts position when window is maximized in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/popup-in-jsapi-4-0-slightly-shifts-position-when/m-p/601793#M56314</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for the reply. We'll just update to 4.1 when it is released.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 18 Aug 2016 13:11:45 GMT</pubDate>
    <dc:creator>DavidNascimento</dc:creator>
    <dc:date>2016-08-18T13:11:45Z</dc:date>
    <item>
      <title>Popup in JSAPI 4.0 slightly shifts position when window is maximized</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/popup-in-jsapi-4-0-slightly-shifts-position-when/m-p/601791#M56312</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We are using JSAPI 4.0 in our web application to display, amongst others, feature layers. We have set a PopupTemplate on the layers and upon clicking on the feature, the popup pops up as expected. However, if the browser window is maximized (or a maximized window is resized), the popup shifts its position sligthly in regards to the feature, so that the pointy tip of the popup no longer aligns with it. We did not observe this effect when resizing the window horizontally or vertically. Also, panning the map causes the popup to be re-drawn correctly. This is not a major issue, but we would like to know if there is something we can do about this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the popup before resizing:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Popup before resizing" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/216803_before_resize.png" style="width: 620px; height: 461px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And here it is after:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Popup after resizing" class="image-2 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/216804_after_resize.png" style="width: 620px; height: 400px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The issue can be reproduced with the sample code provided by ESRI: &lt;A class="link-titled" href="https://developers.arcgis.com/javascript/latest/sample-code/get-started-popup/live/index.html" title="https://developers.arcgis.com/javascript/latest/sample-code/get-started-popup/live/index.html"&gt;Get started with popups - 4.0&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Aug 2016 12:20:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/popup-in-jsapi-4-0-slightly-shifts-position-when/m-p/601791#M56312</guid>
      <dc:creator>DavidNascimento</dc:creator>
      <dc:date>2016-08-18T12:20:30Z</dc:date>
    </item>
    <item>
      <title>Re: Popup in JSAPI 4.0 slightly shifts position when window is maximized</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/popup-in-jsapi-4-0-slightly-shifts-position-when/m-p/601792#M56313</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Similar issues have been mentioned&amp;nbsp;in theses Geonet posts:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/thread/177238"&gt;Scrolling down a page with a map&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/thread/179267"&gt;Mouse misaligned in ArcGIS API for JS&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The popup anchor is definitely not repositioning on the screen resize event, but does when you pan the map again like you mentioned. &amp;nbsp;I think it is "buggy" and should be fixed for the 4.1 release.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Aug 2016 12:52:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/popup-in-jsapi-4-0-slightly-shifts-position-when/m-p/601792#M56313</guid>
      <dc:creator>FC_Basson</dc:creator>
      <dc:date>2016-08-18T12:52:21Z</dc:date>
    </item>
    <item>
      <title>Re: Popup in JSAPI 4.0 slightly shifts position when window is maximized</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/popup-in-jsapi-4-0-slightly-shifts-position-when/m-p/601793#M56314</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for the reply. We'll just update to 4.1 when it is released.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Aug 2016 13:11:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/popup-in-jsapi-4-0-slightly-shifts-position-when/m-p/601793#M56314</guid>
      <dc:creator>DavidNascimento</dc:creator>
      <dc:date>2016-08-18T13:11:45Z</dc:date>
    </item>
  </channel>
</rss>

