Site logo

Archived topic

Back To Top button conflict when active smooth-scroll behavior smooth

1 reply · Started by Jinkwon on April 23, 2021

Viewing posts 1–2 of 2

Hi, Generate Press

I would like to use smooth-scroll behavior: smooth to all anchor link on my webpage.

But when I active the smooth-scroll behavior to smooth, the back-to-top button moves very slowly.

I found out that there is 'smooth-scroll' class supported by generate-press, however, it doesn't work for me since I need to add all existing a tags.

Could you give me some advise to change the scroll-behavior for the back-to-top button only?

here is my webpage.

https://www.oppadu.com/%EC%97%91%EC%85%80-%EC%88%98%EC%9A%94-%EA%B3%B5%EA%B8%89-%EA%B3%A1%EC%84%A0/

Thank you.

Hi there,

This certainly seems like a bug. We need to check for the scroll behavior and disable our smooth scroll javascript for the back to top button if it exists.

As of right now, there isn't a way around this. You would need to disable our back to top button and add your own using a Hook Element. Let us know if you need help with that.

We'll be sure to fix this in GP 3.1.0.

This archived topic is closed to new replies.