Closed ghost closed 10 years ago
Which version are you using? See issue #204.
FF on Ubuntu and the latest nanoScroller.
Are you sure your javascript file has version number greater than 0.7.5 in the first line?
/! nanoScrollerJS - v0.7.6 - (c) 2014 James Florentino; Licensed MIT /
@bardu, can you post an example of your FF problem? Perhaps a JSFiddle demo?
@bardu I'm interested in how your HTML and CSS classes are set. Recent CSS changes made nanoScroller use the CSS "direct child" (>
) selector, so the markup has to strictly ordered.
@bardu with a quick look at that code, it looks like you are preventing nanoScroller from hiding the scrollbar with your custom CSS by having the container width set to a bigger value than width for nano-content
. I'm not sure tho because I did not test it yet.
@kristerkari indeed, that was the issue.
Thanks for looking at it.
Great to know! I had a margin-right on the nano-content which also resulted in native scrollbars for Firefox and IE. Padding-right instead works great. Cheers!
In my app .nano and .nano-content are children of a div element with an opacity set to 0.7.
While this seems to cause no issues in Chrome, the native scollbar of the .nano-content is visible in FF.
Any ideas how I can prevent this?