jQuery-slimScroll icon indicating copy to clipboard operation
jQuery-slimScroll copied to clipboard

How to use on materialize css ul.sidenav ?

Open temuujina opened this issue 10 years ago • 2 comments

When I use slimScroll on ul class="side-nav" id="nav-mobile" of materialize css, it works. But scrollbar doesn't appear. If I wheel mouse 3, it works fine although scrollbar doesn't appear. How to show a scroll bar ?

PS: I changed ul.side-nav z-index. But it won't help. And I know that slimScroll dedicates to only div.

temuujina avatar Jan 24 '16 04:01 temuujina

Have you tried passing the option railVisible to true? It is by default, false. You can also try creating a parent div and targeting that instead, in case materialize overrides any settings.

geogkary avatar Feb 14 '16 10:02 geogkary

Thanks for answer. Yes, I have tried passing the option railVisible to true. Also have created parent div and targeting that. But still doesn't work properly.

temuujina avatar Feb 21 '16 11:02 temuujina