Topic: SmoothScroll isn't Smooth

nothingeni free asked 4 years ago


After adding mdbPageScroll directive to my navbar, links are working. When I click on a link, i'm correctly scrolled to targeted section.

But the Smooth Scrolling isnt that smooth. First, it doesn't go fast enough, i've to wait several seconds to be scrolled to the bottom of the page. Second, it is like the scroll is lagging. We see a kind of "low fps effect".

Any way to get rid of that slow and laggy effect instead of clean and smooth effect?

Thanks for help


Arkadiusz Idzikowski staff answered 4 years ago


The information about inputs, outputs and configaration options for the MDB components are always in the API section in the component documentation (you need to change tab to 'API' at the top of the page).

https://mdbootstrap.com/docs/angular/advanced/scroll/

You can modify [pageScrollSpeed] input to change the speed of the smooth scroll.



Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Answered

Specification of the issue

  • ForumUser: Free
  • Premium support: No
  • Technology: MDB Angular
  • MDB Version: 8.8.2
  • Device: Desktop
  • Browser: Chrome latest
  • OS: Windows 10 latest
  • Provided sample code: Yes
  • Provided link: No