Topic: SmoothScroll Back To Top slower speed

demzl25 premium asked 5 months 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


kpienkowska staff answered 5 months 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 premium commented 5 months 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

  • User: Premium
  • 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