pulibrary / libapps

Customizations and project management of vendor-hosted library applications, e.g., Springshare and Alma.
0 stars 0 forks source link

Our custom side-nav templates have odd behavior for very long menus #16

Open sandbergja opened 2 years ago

sandbergja commented 2 years ago

Expected behavior

Sidenav doesn't appear on top of the guide title, and it's possible to scroll down to the bottom of the sidenav.

Actual behavior

Very glitchy for very long menus:

Steps to replicate

Switch this guide to the PUL default 2-col or 3-col layout: https://libguides.princeton.edu/c.php?g=1255584

Impact of this bug

Low, since the system default template still works

It looks like it could be some kind of Javascript interaction between the <div data-spy="affix" id="affix-ul" class="affix-top" and whatever <li> has class="active"