<?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: Page automatically scrolls down in 4.9 in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/page-automatically-scrolls-down-in-4-9/m-p/360875#M33425</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Douglas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems part of the map view is outside of the page. You can tell because the whole map should have a focus outline when focussed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When the popup is closed, the map view goes back into focus which brings the page down.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In order to fix this, you'll have to set overflow hidden on a div so that it won't be able to scroll or bring the view up so that it is fully visible and won't scroll down.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would suggest positioning the header absolutely and having over the map with some view padding.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Matt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 31 Oct 2018 17:25:15 GMT</pubDate>
    <dc:creator>MattDriscoll</dc:creator>
    <dc:date>2018-10-31T17:25:15Z</dc:date>
    <item>
      <title>Page automatically scrolls down in 4.9</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/page-automatically-scrolls-down-in-4-9/m-p/360872#M33422</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I recently upgraded some web maps from version 4.5 to 4.9. Now when closing popups the window automatically scrolls down so you don't see my page headers-until you scroll back up. This happens in Chrome and IE but not Firefox. Does anyone know why or more importantly how to stop this behavior?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Oct 2018 14:15:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/page-automatically-scrolls-down-in-4-9/m-p/360872#M33422</guid>
      <dc:creator>DouglasGreenfield</dc:creator>
      <dc:date>2018-10-30T14:15:07Z</dc:date>
    </item>
    <item>
      <title>Re: Page automatically scrolls down in 4.9</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/page-automatically-scrolls-down-in-4-9/m-p/360873#M33423</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Douglas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;I have not seen this behavior. Can you provide a quick sample that demos that behavior?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Oct 2018 23:17:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/page-automatically-scrolls-down-in-4-9/m-p/360873#M33423</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2018-10-30T23:17:59Z</dc:date>
    </item>
    <item>
      <title>Re: Page automatically scrolls down in 4.9</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/page-automatically-scrolls-down-in-4-9/m-p/360874#M33424</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for looking into this! Compare the following two pages - just don't use Firefox as that browser works fine. The second version was written using version 4.9 of the api, the other one is 4.5. Notice the blue header at the top. Click on a property or do an address search - either way you get a popup. Once you close the popup window the page scrolls down and you have to scroll back up to get the header back in the 2nd version. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://gis.newtonma.gov/browser.html" title="http://gis.newtonma.gov/browser.html"&gt;Newton GIS Browser&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://gis.newtonma.gov/browser2.html" title="http://gis.newtonma.gov/browser2.html"&gt;Newton GIS Browser&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Oct 2018 13:00:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/page-automatically-scrolls-down-in-4-9/m-p/360874#M33424</guid>
      <dc:creator>DouglasGreenfield</dc:creator>
      <dc:date>2018-10-31T13:00:11Z</dc:date>
    </item>
    <item>
      <title>Re: Page automatically scrolls down in 4.9</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/page-automatically-scrolls-down-in-4-9/m-p/360875#M33425</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Douglas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems part of the map view is outside of the page. You can tell because the whole map should have a focus outline when focussed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When the popup is closed, the map view goes back into focus which brings the page down.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In order to fix this, you'll have to set overflow hidden on a div so that it won't be able to scroll or bring the view up so that it is fully visible and won't scroll down.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would suggest positioning the header absolutely and having over the map with some view padding.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Matt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Oct 2018 17:25:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/page-automatically-scrolls-down-in-4-9/m-p/360875#M33425</guid>
      <dc:creator>MattDriscoll</dc:creator>
      <dc:date>2018-10-31T17:25:15Z</dc:date>
    </item>
    <item>
      <title>Re: Page automatically scrolls down in 4.9</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/page-automatically-scrolls-down-in-4-9/m-p/360876#M33426</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks! The overflow: hidden didn't change anything. Playing with the padding didn't help much either but it gave me the idea to play with the size of the div. After much trial and error I set the div height to 93.5% (basically the page minus the header) and that worked. There is probably a better way to do this like height = page - nav or something like that but I'm not great with .css. I might actually try that out to see if that does anything for me.Thanks everyone for your help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Oct 2018 18:48:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/page-automatically-scrolls-down-in-4-9/m-p/360876#M33426</guid>
      <dc:creator>DouglasGreenfield</dc:creator>
      <dc:date>2018-10-31T18:48:28Z</dc:date>
    </item>
  </channel>
</rss>

