Site logo

[Support request] Back To Top button conflict when active smooth-scroll behavior smooth

Home Forums Support [Support request] Back To Top button conflict when active smooth-scroll behavior smooth

Home Forums Support Back To Top button conflict when active smooth-scroll behavior smooth

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1745552
    Jinkwon

    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.

    #1746206
    Tom
    Lead Developer
    Lead Developer

    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.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.