Topic: Back to top slower speed

demzl25 pro asked 1 year ago

Expected behavior

How to add js code to Back to top code snippet to be slower around 500ms.

Actual behavior

Now is to fast and when i add smooth-scroll to the Back to top code snippet dosent work properly. Resources (screenshots, code snippets etc.)

Here is my code snippet:

Mateusz Lazaru staff answered 1 year ago


Unfortunately 'back to top' hasn't such option like 'duration'. Smooth-scroll should do the job, but as i see, there is a bug in this component - data-mdb-easing='linear' doesn't work.

We will fix this soon so please follow our changelog to stay up to date.

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

  • User: Pro
  • Premium support: No
  • Technology: MDB Standard
  • MDB Version: MDB5 5.0.0
  • Device: Pc
  • Browser: Chrome 97.0.4692.99
  • OS: window 10
  • Provided sample code: No
  • Provided link: Yes