Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not working when the content & links are dynamic #73

Open
parthi-tcdx opened this issue Dec 26, 2022 · 1 comment
Open

Not working when the content & links are dynamic #73

parthi-tcdx opened this issue Dec 26, 2022 · 1 comment

Comments

@parthi-tcdx
Copy link

In my app, the menu list & main content are dynamically generated. This means that scrollTargetIds will be different each time and so I'm populating that using a state variable. Due to this, the scrollspy behavior is not happening as expected. But it working when I declare scrollTargetIds as static values.

Can this be handled?

@thibaultcrouzet
Copy link

I've the same issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants