RENCI / renci-website

https://renci-beta.netlify.app/
MIT License
0 stars 3 forks source link

Staff directory sticky menu doesn't stick #259

Open mbwatson opened 3 years ago

mbwatson commented 3 years ago

Describe the bug

The side letter-selection menu for the staff directory behavior should be sticky

To Reproduce Steps to reproduce the behavior:

  1. Go to /people
  2. Scroll down to the menu
  3. Scroll past menu; notice it isn't sticky.

Expected behavior This menu should stick within its container.

Screenshots If applicable, add screenshots to help explain your problem.

Additional context

This is caused by an ancestor having the overflow property set. There are lots of resources on this for reference -- here's one: https://uxdesign.cc/position-stuck-96c9f55d9526.