Sep 7, 2018 · 1 min read
Cooper Thomas, pulling it out of the tpl-ready function worked, thank you!
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 scroll to the entry, but it is not quite working.
var entries = document.getElementsByClassName(‘entry’);
entries[index].scrollIntoView(true);
On a click on the the feature the panel does 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 another video clip:
https://cookcountyil-treering.tinytake.com/sf/MjkwMTA0M184NzAyNzU1
