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!


Topic: SmoothScroll Back To Top slower speed

demzl25 priority asked 2 years ago


Expected behavior

Hi,

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:

https://mdbootstrap.com/snippets/standard/demzl25/4037071#html-tab-view

Thanks,

Damjan


Kamila Pieńkowska staff answered 2 years ago


I've adjusted your snippet to work like expected. https://mdbootstrap.com/snippets/standard/kpienkowska/4040238

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,

Damjan



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: 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