A javascript scrollbar plugin that hides the native scrollbars, provides custom styleable overlay scrollbars, and preserves the native functionality and feel.
Hello!
Trying to use your scrollbar in my study project. Faced a scrolling issue after the first render.
I was looking at the example https://stackblitz.com/edit/overlayscrollbars-react?file=src%2FApp.tsx
The scrollContent function has a condition if (!osInstance) return; to which I cannot scroll.
I want to scroll the content to the bottom the first time the application loads. But since osInstance=null, I can't access scrollOffsetElement. I'm just learning and maybe I couldn't figure out how to solve this in react or I missed some overlayscroll parameter. Is there a way to accomplish this?
Sorry for my English) I use a translator.
Hello! Trying to use your scrollbar in my study project. Faced a scrolling issue after the first render. I was looking at the example https://stackblitz.com/edit/overlayscrollbars-react?file=src%2FApp.tsx The
scrollContent
function has a conditionif (!osInstance) return;
to which I cannot scroll. I want to scroll the content to the bottom the first time the application loads. But sinceosInstance=null
, I can't accessscrollOffsetElement
. I'm just learning and maybe I couldn't figure out how to solve this in react or I missed some overlayscroll parameter. Is there a way to accomplish this? Sorry for my English) I use a translator.