Oct 25, 2019, 3:34 PM
Collapsing Treelist Menu
I've created a sliding navigation menu from a treelist, and it has expandable dropdown menu items. When one of the expandable dropdown items is clicked to where the items exceed the menu height, a scrollbar appears to allow for vertical scrolling in the menu. However, once the expandable items are collapsed and the menu is back to its original display, the scrollbar stays, creating superfluous space to scroll in the menu. The only way to get the menu back to its original state and make the scrollbar disappear is to reload the page. Is there a way to get the scrollbar to disappear once the expander items are collapsed, or to get the scrollbar to return to its original state when the page was loaded?