<?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 Map view padding change doesn't carry over to popup in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/map-view-padding-change-doesn-t-carry-over-to/m-p/1179220#M77555</link>
    <description>&lt;P&gt;When I a try to dynamically change the left padding of my map view based on toggling a div, the popup popup position is not updated.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/42585i19BAB8C892E4D119/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;For instance in the above snapshot, whenever I show the panel on the left, I set the left padding of my map view to 400px. But when I click on the "light blue" graphic shown on the map the popup opens up about 200px to left of the popup. The popup is acting as if it didn't get the message that the left padding on the map view has changed. How do I fix this?&amp;nbsp;&lt;/P&gt;&lt;P&gt;-lak krishnan&lt;/P&gt;</description>
    <pubDate>Wed, 01 Jun 2022 20:36:33 GMT</pubDate>
    <dc:creator>lakshmanankrishnan</dc:creator>
    <dc:date>2022-06-01T20:36:33Z</dc:date>
    <item>
      <title>Map view padding change doesn't carry over to popup</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/map-view-padding-change-doesn-t-carry-over-to/m-p/1179220#M77555</link>
      <description>&lt;P&gt;When I a try to dynamically change the left padding of my map view based on toggling a div, the popup popup position is not updated.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/42585i19BAB8C892E4D119/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;For instance in the above snapshot, whenever I show the panel on the left, I set the left padding of my map view to 400px. But when I click on the "light blue" graphic shown on the map the popup opens up about 200px to left of the popup. The popup is acting as if it didn't get the message that the left padding on the map view has changed. How do I fix this?&amp;nbsp;&lt;/P&gt;&lt;P&gt;-lak krishnan&lt;/P&gt;</description>
      <pubDate>Wed, 01 Jun 2022 20:36:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/map-view-padding-change-doesn-t-carry-over-to/m-p/1179220#M77555</guid>
      <dc:creator>lakshmanankrishnan</dc:creator>
      <dc:date>2022-06-01T20:36:33Z</dc:date>
    </item>
    <item>
      <title>Re: Map view padding change doesn't carry over to popup</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/map-view-padding-change-doesn-t-carry-over-to/m-p/1179544#M77570</link>
      <description>&lt;P&gt;Do you have a repro of this, a codepen or something? I wasn't able to repro.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jun 2022 17:27:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/map-view-padding-change-doesn-t-carry-over-to/m-p/1179544#M77570</guid>
      <dc:creator>ReneRubalcava</dc:creator>
      <dc:date>2022-06-02T17:27:35Z</dc:date>
    </item>
    <item>
      <title>Re: Map view padding change doesn't carry over to popup</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/map-view-padding-change-doesn-t-carry-over-to/m-p/1180755#M77633</link>
      <description>&lt;P&gt;I was finally able to get my Github repo setup for sharing my code. The link is&amp;nbsp;&lt;A href="https://github.com/lkrishnan/FinsLiveV3" target="_blank"&gt;https://github.com/lkrishnan/FinsLiveV3&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The working dev website can be accessed at&amp;nbsp;&lt;A href="https://maps.mecklenburgcountync.gov/finslive" target="_blank"&gt;https://maps.mecklenburgcountync.gov/finslive&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I also created a code pen sample to test out this feature.&amp;nbsp;&lt;A href="https://codepen.io/lkrishnan/pen/PoQaejv" target="_blank"&gt;https://codepen.io/lkrishnan/pen/PoQaejv&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The code pen sample seemed to work as expected though. The only thing off about it was that "Zoom Control" wasn't changing position when the mapview's left padding was altered.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-lak&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jun 2022 18:55:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/map-view-padding-change-doesn-t-carry-over-to/m-p/1180755#M77633</guid>
      <dc:creator>lakshmanankrishnan</dc:creator>
      <dc:date>2022-06-07T18:55:02Z</dc:date>
    </item>
    <item>
      <title>Re: Map view padding change doesn't carry over to popup</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/map-view-padding-change-doesn-t-carry-over-to/m-p/1180804#M77634</link>
      <description>&lt;P&gt;Ok, I think I see the issue. You want to update the entire padding object, not just a single property.&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;view.padding = {
    ...view.padding,
    left: leftPadding
};&lt;/LI-CODE&gt;&lt;P&gt;That seems to be much cleaner when I test it in your app.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jun 2022 20:54:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/map-view-padding-change-doesn-t-carry-over-to/m-p/1180804#M77634</guid>
      <dc:creator>ReneRubalcava</dc:creator>
      <dc:date>2022-06-07T20:54:33Z</dc:date>
    </item>
  </channel>
</rss>

