Skip to content

Not working when the content & links are dynamic #73

@parthi-tcdx

Description

@parthi-tcdx

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions