Hi @agoza, there seems to be something unusual about the way scrolling is handled on the site. I can’t quite figure out what is going on. Can you explain how this is implemented in the theme you are using? My guess is that there is some Javascript managing things, which isn’t taking into account the possibility of the content height changing dynamically. But I’m not positive about that.
I can say that this plugin will operate as expected inside a fix-height scrollable div. You can test this for yourself with the default Twenty Twenty theme and adding this code in the CSS:
.entry-content {
height: 100px;
overflow-y: scroll;
}
That is a standard way to make a scrollable div. You’ll see that if you have a number of accordions on a page, you can open and close them without issue, and you are still able to scroll to the bottom of the div.
Thread Starter
agoza
(@agoza)
Hi @philbuchanan the theme I’m using implements simplebar and simplebar.js, perhaps these are related to the issue?
I did some reading about simplebar.js and while I haven’t tested the integration myself, from what I read I would suspect that is the cause of the issue. Is it possible to remove simplebar.js?
Thread Starter
agoza
(@agoza)
The simplebar.js process can be removed on that particular page but then the bottom half of the page will be white/blank with just the wording. My email to the theme’s support went unanswered as they mostly do, so there’s not much else I can do about it from my end at the moment unless I start learning how to build a theme with a similar concept myself considering its rarity. If you have another alternative or a fix to the blank background, I would appreciate it if you can share.
I’m not familiar with your particular theme, so I’m not sure how you’d go about fixing it. There are a lot of themes available on the theme directory though, so you may be able to find a suitable alternative that works with more plugins.