Topic: Scrollspy in Angular?

salman1793 pro asked 6 years ago

Hi, Is the scrollspy implemented for Angular projects as well? Looking forward to hearing from you. Regards, Salman Mujtaba

harris free answered 4 years ago

Hi, Is there any TS we need to handle when using the Scrollspy?

In the Basic Example documentation, I can only see the HTML and SCSS section. When I implement it, I'm unable to get the LINK in the header section to be activated. It can scroll ... but, no active class for the current section. Do I need to manually handle the toggle?

Arkadiusz Idzikowski staff commented 4 years ago

It should work correctly with the code from the example in our documentation:

Could you show us your html/scss code so we can reproduce this problem on our end?

Sid26 free commented 3 years ago

Hi iam too facing the same issue i did the copy paste of the exact same code and still it si not working as expected.

Arkadiusz Idzikowski staff commented 3 years ago

@Sid26 Please provide more information about the code you used and the problem itself. Are there any errors in the console?

peterhaiti19 pro commented 3 years ago

I'm facing the same issue since two weeks, Is there any help available please ? Instead of the active link, it give me a NOT FOUND PAGE due to href* reference in the HTMl

Arkadiusz Idzikowski staff commented 3 years ago

@peterhaiti19 Please provide an example code on which we will be able to reproduce this problem.

Arkadiusz Idzikowski staff answered 5 years ago


Scrollspy component was added to MDB Angular in version 6.2.4. You can find documentation here: Angular Scrollspy



icherr pro answered 5 years ago

Hey there,

I find myself in the same situation 10 mounths later asking for angular ScrollSpy feature. Is there any news on that ?



Damian Gemza staff answered 6 years ago

Hello, Dear Salman1793, for now, we haven't got something like Scrollspy. We'll think about implementing it in future releases. Best Regards, Damian

Please insert min. 20 characters.


Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.



Specification of the issue

  • ForumUser: Pro
  • Premium support: No
  • Technology: MDB Angular
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: No
  • Provided link: No