Holiday Notice: Support will be provided on a limited scale from December 24th, 2024, to January 2nd, 2025. Happy holidays and a wonderful New Year!

DerLino free asked 3 years ago


Good evening,

I have the problem that the scrollspy for my navbar react to late so the class active is only added when a further part of the div has already been viewed, so you can say it reacts too late. How can I change that?

https://mdbootstrap.com/snippets/standard/derlino/3286478

Thanks for every help!


Michał Duszak staff commented 3 years ago

Good evening! I opened the snippet and I've set offset, so now it works fine for me! Try setting data-mdb-offset="100".https://mdbootstrap.com/snippets/standard/m-duszak/3288027#reviews


FREE CONSULTATION

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

Status

Closed

Specification of the issue

  • ForumUser: Free
  • Premium support: No
  • Technology: MDB Standard
  • MDB Version: MDB5 3.9.0
  • Device: Computer
  • Browser: Firefox
  • OS: Windows 10
  • Provided sample code: No
  • Provided link: Yes