• Hello,

    I have a quick question for you…

    First, my compliments on this very efficient plugin which makes adding scrollbars to specific elements so simple.

    I’ve just finished all my integration work, but noticed something strange. For some reason my scrollbar position is loading at the bottom of the content on page load. I’m actually using the custom scrollbar within a navigation menu. When the page loads and I look at the menu with the scrollbar it is already scrolled to the bottom of the menu. I’d much rather have it start at the top for obvious usability reasons.

    I don’t think this is something I through off with my css, but I’m uncertain. Any ideas on how I can force the scrollbar to start at the top of the content?

    ~ Michael

    https://wordpress.org/plugins/custom-scrollbar/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author miunosoft

    (@miunosoft)

    Hi,

    I cannot reproduce the problem in my environment. I suspect you have a third party JavaScript script of another plugin or your theme interfering with the script of the Custom Scrollbar plugin.

    To find out the conflict, create a clean installed test site with the default theme and no plugin except Custom Scrollbar. And see if the problem happens. If not, install and activate the theme you are using. If the problem does not occur, install and activate the plugins used on your site one by one.

    At some point, the problem should start occurring. Then you can tell which one causes it.

    Hope this helps.

    Thread Starter Michael Samson

    (@illuminice)

    Hi miunosoft,

    Sorry for the late response here, and my thanks for getting back to me about this.

    It is possible there’s a conflict causing this, but it’s not so easy to just setup a test site. That’s a LOT of work!

    I am using another plugin that customizes the main scrollbar on the site. It’s called “Scrollbar Designer” by Zia Imtiaz. Here’s the link to it: https://wordpress.org/plugins/scrollbar-designer/

    I’m wondering if perhaps this is the cause. Would you be willing to install it on your end to test this? If I deactivate it here I’ll lose all my plugin settings (as it seems to have an issue remembering after deactivation).

    I’m running up to 40 different plugins here… so testing this one by one won’t be easy. Perhaps with some educated guesses I can figure it out, but it would be helpful if you can try your plugin out with the one above.

    Is it possible this has something to do with the css target, which in this case is a WordPress header menu? Perhaps its the list items somehow causing it.

    I do need to get this solved at some point. But I can’t install an entire test site for this one function.

    ~ Michael

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Scrollbar Loading in Bottom Position on Page Load’ is closed to new replies.