A javascript scrollbar plugin that hides the native scrollbars, provides custom styleable overlay scrollbars, and preserves the native functionality and feel.
Describe the bug
I have some fixed block with z-index: 10 and with scrollable content inside. Also I've got one more fixed element inside this scrollable content, which overlapping by scrollbar. It can be solved by setting z-index: auto to [data-overlayscrollbars-viewport] element, but I'm not sure it doesn't have any unintended consenquences.
Firstly, thank you for this beautiful library!
Describe the bug I have some fixed block with z-index: 10 and with scrollable content inside. Also I've got one more fixed element inside this scrollable content, which overlapping by scrollbar. It can be solved by setting
z-index: auto
to [data-overlayscrollbars-viewport] element, but I'm not sure it doesn't have any unintended consenquences.Examples https://codesandbox.io/p/devbox/overlayscrollbars-vue-example-forked-d4jljx?file=%2Fsrc%2FApp.css%3A11%2C19
To Reproduce Steps to reproduce the behavior: