gromo / jquery.scrollbar

jQuery CSS Customizable Scrollbar
GNU General Public License v2.0
755 stars 237 forks source link

Horizontal Scrollbar is not show when using "firefox" browser. #137

Open sonymaker opened 7 years ago

sonymaker commented 7 years ago

Hi. I am developing about web component. I have a multi-browsing problem. Horizontal scrollbar is not show when using "firefox" browser. (firefox version: 54.0.1) I guess that "<div class='scrollbar-vista scroll-content'>" div's "max-height" value is wrong. Other browsers are show well.

I use 'scrollbar-vista' CSS. Please help me.

<html> <head> <title>test</title> <script src="./jquery-1.12.4.min.js"></script> <link href="./jquery.scrollbar.vista.css" rel="stylesheet" type="text/css"> <script src="./jquery.scrollbar.js"></script> <style type="text/css"> </style> <script> $(document).ready(function(){ $('.scrollbar-vista').scrollbar({ showArrows:true, scrollx: "advanced", scrolly: "advanced" }); }); </script> </head> <body> <div style="width: 500px; height: 17px; top:50px; background-color:yellow; overflow:hidden; position:absolute;"> <div class="scrollbar-vista"> <div style="width: 500px; height: 0px;background-color:red;"> <div style="width:100000px; height:1px; background-color:red;position:absolute;"></div> </div> </div> </div> </body> </html>

gromo commented 7 years ago

Is it MacOS ? Is vertical scrollbar displayed ok?