Topic: SmoothScroll isn't Smooth
nothingeni
asked a year 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 a year 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.
Answered
- User: Free
- Premium support: No
- Technology: Angular
- MDB Version: 8.8.2
- Device: Desktop
- Browser: Chrome latest
- OS: Windows 10 latest
- Provided sample code: No
- Provided link: No