Jump to content

Auto focus in SideNav on list item selected?


Recommended Posts

I've searched and searched on how to do an Auto-focus on a SideNav and can't find it.

The W3schools pages do this, I've looked at the source and don't see it.

I want the SideNav list to auto scroll to position the list with the menu item selected.

Currently it's scrolling to the top. This is in a GitHub Pages doc so maybe it's hard coded into their stuff.

Edited by Tone
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...