Skip to content

Angular ScrollSpy doe not work for me #22

@tiga05

Description

@tiga05

Hello,

Tried to use your cool module. But for some reason, it is not working. Also not with a clean new angular project.
So I tried the demo app in the src folder and this works.

I started to debug a little bit around. And it looks like this.items which normally holds the amount of navbar items (means: all items which have the snScrollSpyItem directive) is always empty. Your basic project shows me it should not.

So what am I doing wrong?

I am using angular 9.1.0 and Nodejs 12.16.1

I attached my example project. Just unzip it, run npm install and ng serve!
test3.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions