iannbing / iannbing/react-simple-tree-menu

Scroll to the active item in the list

Open
#173 3 comments 1 reaction 0 assignees View on GitHub
Dominant language
TypeScript
Stars
138
Forks
44
PR merge metrics
No merged PRs in 30d

Description

I am using the ItemComponent to show the tree items. My tree is lengthy one and need the same tree to be shown in different pages while i switch the page I need to persist the active menu. So I was thinking to implemente window.scrollto. So any one have the idea how to scroll to that active item.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.