<?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 When switching between mobile/Views in dojo, can I retain the scroll position? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/when-switching-between-mobile-views-in-dojo-can-i/m-p/306008#M28075</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have mobile project based on Dojo which has two dojox/mobile/Views, one that is a list and one that is a map.&amp;nbsp; The list contains several features in it and when the user clicks on the Map It button for that item, they're taken to a map where that feature is located.&amp;nbsp; At the top of the View for the map, I have a back button, which will take them to the original View containing the list.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
&amp;lt;div id="backButton" data-dojo-type="dojox/mobile/ToolBarButton" style="float: right;" moveTo="mainView"&amp;gt;Back&amp;lt;/div&amp;gt;
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'd really like to be able to retain the position in the list where the user was before they viewed the map, but moving to mainView resets itself to the top of the list again.&amp;nbsp; Is there any way to scroll back to the item they were on previously?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://jsfiddle.net/schlot/7t8Lu/3/" rel="nofollow noopener noreferrer" target="_blank"&gt;http://jsfiddle.net/schlot/7t8Lu/3/&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 11 Dec 2021 14:38:45 GMT</pubDate>
    <dc:creator>TracySchloss</dc:creator>
    <dc:date>2021-12-11T14:38:45Z</dc:date>
    <item>
      <title>When switching between mobile/Views in dojo, can I retain the scroll position?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/when-switching-between-mobile-views-in-dojo-can-i/m-p/306008#M28075</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have mobile project based on Dojo which has two dojox/mobile/Views, one that is a list and one that is a map.&amp;nbsp; The list contains several features in it and when the user clicks on the Map It button for that item, they're taken to a map where that feature is located.&amp;nbsp; At the top of the View for the map, I have a back button, which will take them to the original View containing the list.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
&amp;lt;div id="backButton" data-dojo-type="dojox/mobile/ToolBarButton" style="float: right;" moveTo="mainView"&amp;gt;Back&amp;lt;/div&amp;gt;
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'd really like to be able to retain the position in the list where the user was before they viewed the map, but moving to mainView resets itself to the top of the list again.&amp;nbsp; Is there any way to scroll back to the item they were on previously?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://jsfiddle.net/schlot/7t8Lu/3/" rel="nofollow noopener noreferrer" target="_blank"&gt;http://jsfiddle.net/schlot/7t8Lu/3/&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 14:38:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/when-switching-between-mobile-views-in-dojo-can-i/m-p/306008#M28075</guid>
      <dc:creator>TracySchloss</dc:creator>
      <dc:date>2021-12-11T14:38:45Z</dc:date>
    </item>
  </channel>
</rss>

