<?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 Position shifting in EX_JS Layout in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/popup-position-shifting-in-ex-js-layout/m-p/281003#M25947</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It sounds like you're referencing an old version of that sample. The current version has:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
{
&amp;nbsp; region: "west",
&amp;nbsp; title: "left panel",
&amp;nbsp; width: 150,
&amp;nbsp; split: true,
&amp;nbsp; collapsible: true,
&amp;nbsp; html: "left panel content. this panel is collapsible and can be resized using the splitter",
&amp;nbsp; listeners: {
&amp;nbsp;&amp;nbsp;&amp;nbsp; collapse: resizeMap,
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;expand: resizeMap&lt;/STRONG&gt;
&amp;nbsp; }
}
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;resizeMap is:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
function resizeMap() {
&amp;nbsp; map.resize();
}
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;IIRC, the sample was updated at the 3.0 release to include the expand event listener to address the problem you're describing.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 11 Dec 2021 13:38:01 GMT</pubDate>
    <dc:creator>derekswingley1</dc:creator>
    <dc:date>2021-12-11T13:38:01Z</dc:date>
    <item>
      <title>Popup Position shifting in EX_JS Layout</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/popup-position-shifting-in-ex-js-layout/m-p/281002#M25946</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have a map page using the EXT_JS demo that is giving me a problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If you look at the demo on&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/demos/framework/framework_extjslayout.html" rel="nofollow noopener noreferrer" target="_blank"&gt;http://help.arcgis.com/en/webapi/javascript/arcgis/demos/framework/framework_extjslayout.html&lt;/A&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The left panel collapses and expands, but the state change throws my identify click off by the width horizontally of my expanded panel.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;{
region: "west",
title: "Map Content"
width: 200,
split: true,
collapsible: true,
contentEl: "west" 
listeners: {
&amp;nbsp; collapse: function(){if (map) {map.resize();}}
}
}&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have another panel in the "east" which resizes just fine but does not throw the horizontal measure off for the mouse down event on the map panel.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does anyone know a work around or method which I can employ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Andy..&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 13:37:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/popup-position-shifting-in-ex-js-layout/m-p/281002#M25946</guid>
      <dc:creator>AndrewDavis</dc:creator>
      <dc:date>2021-12-11T13:37:58Z</dc:date>
    </item>
    <item>
      <title>Re: Popup Position shifting in EX_JS Layout</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/popup-position-shifting-in-ex-js-layout/m-p/281003#M25947</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It sounds like you're referencing an old version of that sample. The current version has:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
{
&amp;nbsp; region: "west",
&amp;nbsp; title: "left panel",
&amp;nbsp; width: 150,
&amp;nbsp; split: true,
&amp;nbsp; collapsible: true,
&amp;nbsp; html: "left panel content. this panel is collapsible and can be resized using the splitter",
&amp;nbsp; listeners: {
&amp;nbsp;&amp;nbsp;&amp;nbsp; collapse: resizeMap,
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;expand: resizeMap&lt;/STRONG&gt;
&amp;nbsp; }
}
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;resizeMap is:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
function resizeMap() {
&amp;nbsp; map.resize();
}
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;IIRC, the sample was updated at the 3.0 release to include the expand event listener to address the problem you're describing.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 13:38:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/popup-position-shifting-in-ex-js-layout/m-p/281003#M25947</guid>
      <dc:creator>derekswingley1</dc:creator>
      <dc:date>2021-12-11T13:38:01Z</dc:date>
    </item>
    <item>
      <title>Re: Popup Position shifting in EX_JS Layout</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/popup-position-shifting-in-ex-js-layout/m-p/281004#M25948</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks..&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I will work on getting version 3.0 installed.&amp;nbsp; I have to run this locally, and will try it tomorrow.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Andy&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jul 2012 17:24:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/popup-position-shifting-in-ex-js-layout/m-p/281004#M25948</guid>
      <dc:creator>AndrewDavis</dc:creator>
      <dc:date>2012-07-19T17:24:00Z</dc:date>
    </item>
    <item>
      <title>Re: Popup Position shifting in EX_JS Layout</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/popup-position-shifting-in-ex-js-layout/m-p/281005#M25949</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I installed the 3.0 api, and have fixed the problem desribed above.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Inside the scripting function for the "West" Panel changing the listener line solved the problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If I had read more carefully what Derek Swingley had written I could have solved this much earlier.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So.. My region West should read&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;region: "west",&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Title: "Map Content", &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;width: 200,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;split: true, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;collapsible: true,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;collapsed: true, // I like it collapsed on startup&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;contentEl: "west",&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;listeners: {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;collapse: function() {if (map) {map.resize();} },&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;expand: function() {if (map) {map.resize();} }&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can I still award points to Derek Swingley ? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Andy..&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Aug 2012 11:51:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/popup-position-shifting-in-ex-js-layout/m-p/281005#M25949</guid>
      <dc:creator>AndrewDavis</dc:creator>
      <dc:date>2012-08-02T11:51:42Z</dc:date>
    </item>
  </channel>
</rss>

