<?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: Story Map Series scroll to entry in Classic Esri Story Maps Questions</title>
    <link>https://community.esri.com/t5/classic-esri-story-maps-questions/story-map-series-scroll-to-entry/m-p/651165#M7438</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This scrolling issue was a bug that was fixed in the September 2018 revision of the Story Map Series code.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 09 Oct 2018 19:48:00 GMT</pubDate>
    <dc:creator>Cook_CountyGIS</dc:creator>
    <dc:date>2018-10-09T19:48:00Z</dc:date>
    <item>
      <title>Story Map Series scroll to entry</title>
      <link>https://community.esri.com/t5/classic-esri-story-maps-questions/story-map-series-scroll-to-entry/m-p/651164#M7437</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class="" style="margin: 0px auto;"&gt;&lt;P class="" style="font-size: 18px; margin: 15px 0px 0px;"&gt;I have customized the Story Map Series according to the &lt;A href="https://github.com/Esri/storymap-series#link-between-entries" rel="nofollow noopener noreferrer" target="_blank"&gt;source&lt;/A&gt;.&amp;nbsp; I have 18 entries in my map series, and the accordian panel does not scroll to the entry with the base code. I added these two lines to&amp;nbsp;&lt;SPAN&gt; &lt;A href="https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollIntoView" rel="nofollow noopener noreferrer" target="_blank"&gt;scroll&lt;/A&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;to the entry, but it is not quite working completely.&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="comment token"&gt;//with the accordion theme, if there are more entries &lt;/SPAN&gt;
&lt;SPAN class="comment token"&gt;//than fit on a single screen, this scrolls to the active entry&lt;/SPAN&gt;
&lt;SPAN class="keyword token"&gt;var&lt;/SPAN&gt; entries &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; document&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;getElementsByClassName&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;'entry'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
entries&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;index&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;scrollIntoView&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="keyword token"&gt;true&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;‍‍‍‍‍‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P class="" style="font-size: 18px; margin: 15px 0px 0px;"&gt;On a click on the feature&amp;nbsp;(i.e. entry index &amp;gt;13), the panel &lt;STRONG&gt;does&lt;/STRONG&gt; scroll to make the entry visible, but not at the top. On a second click on the feature, the panel scrolls to have that entry at the top. Putting scrollIntoView in there twice does not help. Here is a &lt;A href="https://cookcountyil-treering.tinytake.com/sf/MjkwMTA0M184NzAyNzU1" rel="nofollow noopener noreferrer" target="_blank"&gt;video clip&lt;/A&gt;.&lt;/P&gt;&lt;P class="" style="font-size: 18px; margin: 15px 0px 0px;"&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 03:37:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/classic-esri-story-maps-questions/story-map-series-scroll-to-entry/m-p/651164#M7437</guid>
      <dc:creator>DavidTreering2</dc:creator>
      <dc:date>2021-12-12T03:37:06Z</dc:date>
    </item>
    <item>
      <title>Re: Story Map Series scroll to entry</title>
      <link>https://community.esri.com/t5/classic-esri-story-maps-questions/story-map-series-scroll-to-entry/m-p/651165#M7438</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This scrolling issue was a bug that was fixed in the September 2018 revision of the Story Map Series code.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Oct 2018 19:48:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/classic-esri-story-maps-questions/story-map-series-scroll-to-entry/m-p/651165#M7438</guid>
      <dc:creator>Cook_CountyGIS</dc:creator>
      <dc:date>2018-10-09T19:48:00Z</dc:date>
    </item>
  </channel>
</rss>

