react-scrollspy icon indicating copy to clipboard operation
react-scrollspy copied to clipboard

clicking links doesn't highlight them

Open mendrik opened this issue 7 years ago • 1 comments

I think the lib should highlight the elements based on the hash and only if not present, on the scroll position.

right now I have a few navigation items on the same page and if i click those rather at the end, the page scrolls correctly but the highlight is set to the last item in my navigation.

This is probably due to the fact that the last item is also on the page.

mendrik avatar Aug 15 '18 13:08 mendrik

Does anyone know how to solve this problem?

eeriee avatar Oct 11 '19 17:10 eeriee