• Hello there,

    I think I have a bug with this plugin, related to what’s likely a JavaScript issue.

    With the GeneratePress theme, it’s possible to have a back-to-top button that quickly returns to the top of the page (not instantly, but very quickly). There’s also a smooth-scroll function that allows you to add a class to links for smooth scrolling when using anchors.

    The problem with this plugin is that the back-to-top button is broken. The return to the top takes an extremely long time (it can take minutes for a long page), and worse, it’s no longer possible to navigate within the page because it blocks everything.

    I can add the CSS scroll-behavior: unset !important; to the HTML or body of the page, but that removes all smooth scrolling functions for my links and anchors, which is really annoying.

    I think this is related to the smooth opening of the accordion elements. It could even just be Javascript that isn’t specific enough, i.e. the event listeners it might use listen for all “clicks”. Shouldn’t this smooth scrolling be specifically defined for the accordion elements, but not for the entire page?

    Anyway, how could I resolve the issue and keep my theme-related functions? Could a fix be made in the plugin?

    Thanks a lot.

    • This topic was modified 10 months, 3 weeks ago by Alexis.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

The topic ‘Issue with GeneratePress theme and smooth scroll function’ is closed to new replies.