My sidebar navigation menu includes children and sub-children that are revealed on hover. You can view a simplified version of it in this jsfiddle link: https://jsfiddle.net/s096zfpd/
Although the example provided is basic, my main concern arises when the list inside the <nav>
element exceeds its height. In such cases, I want to enable scrolling within the <nav>
while maintaining the visibility of the .sub-nav
elements - a task complicated by CSS limitations preventing the use of both overflow-x:visible
and overflow-y:scroll
simultaneously.
I believe a javascript solution might offer a viable approach to resolve this issue. Any recommendations would be greatly appreciated!
Thank you.