Hello @jacobbannier
First of all, thank you for your review!
I have checked the issue and this is related to CSS overflow: hidden; which this plugin uses quite extensively in order to prevent double scroll bars.
I’ll have to think about how to solve this without breaking other sites…
I created a bug report on the GitHub repo and hope to give this some dev time a.s.a.p.
https://github.com/JoryHogeveen/off-canvas-sidebars/issues/83
Closing here in favor of GitHub.
Thanks for reporting!
Cheers, Jory
Oh, one thing you could try is to overwrite this plugin’s CSS for the html, body and canvas elements to they are set to overflow:visible.
No idea why this would be required for sticky elements but apparently browsers work that way haha.
Cheers, Jory
Hi Jory,
Thanks for your quick reply. I’ll try and take a look into what you mentioned and see if I can find a work-around before/incase this can’t be fixed.
Edit:
I implemented overflow: visible on the body and container and it seemed to work. It says in your code the overflow: hidden is for help with when page height isn’t >100%, which in my case isn’t any page. Obviously not an ideal fix but it’ll do for now.
For anyone with the same problem, try adding this css to your site (at your own risk):
body{
overflow: visible !important;
}
[canvas=container], .ocs-initialized [canvas=container]{
overflow: visible !important;
}
Cheers
-
This reply was modified 6 years, 1 month ago by
jacobbannier.
Hi @jacobbannier
Please let me know if the patch works for you.
If it does I’ll look into releasing a 0.5.x version a.s.a.p.
Otherwise it will go together with a larger 0.6 version when ready.
Cheers, Jory