Topic: SmoothScroll Back To Top slower speed

demzl25 priority asked 2 years ago

Expected behavior


I need help with to slow down the speed of SmoothScroll Back To Top?

Actual behavior

I have add to botton (data-mdb-smooth-scroll="smooth-scroll" data-mdb-duration="3000" data-mdb-easing="easeInOutQuart") and also through Js code snippet to slow down SmoothScroll but without success.

Resources (screenshots, code snippets etc.)

Here is link to the example:



Kamila Pieńkowska staff answered 2 years ago

I've adjusted your snippet to work like expected.

If you want to change duration or easing you can change it however you want in html a tag.

demzl25 priority commented 2 years ago

Thank you,


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: Priority
  • Premium support: Yes
  • Technology: MDB Standard
  • MDB Version: MDB5 4.1.0
  • Device: Pc
  • Browser: Chrome 97.0.4692.99
  • OS: Windows 10
  • Provided sample code: No
  • Provided link: Yes