swooningfish / jscrollpane

Automatically exported from code.google.com/p/jscrollpane
0 stars 0 forks source link

Default OS scroller appears briefly #159

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. load the page:

What is the expected output? What do you see instead?

Expect the styled scroller to appear. It does but only after the default Safari 
(happens in IE as 
well) shows up first.

What version of the jScrollPane are you using? On what browser? And operating 
system?

jScrollPane.js 87 2009-10-12 10:44:17Z

Please provide a URL to a page displaying the problem.

http://dev.walkermowers.com/company/what-we-believe.php

Please provide any additional information below.

Thanks,

Original issue reported on code.google.com by merrick....@gmail.com on 23 Dec 2009 at 4:56

GoogleCodeExporter commented 9 years ago
The page you link to is password protected so I can't look at it. 

There may be some helpful comments in issue 60 but it depends on your 
situation...
jScrollPane isn't initialised until you tell it to do so, normally in a
document.ready handler...

Original comment by kelvin.l...@gmail.com on 23 Dec 2009 at 6:12

GoogleCodeExporter commented 9 years ago
There is a workaround for this.
In css you can set the overflow to hidden and then right before calling 
.jScrollPane() set the overflow to auto so jScrollPane can calculate the real 
height. I have never the browsers scrollbar using this technique.

$(".scroll").css('overflow', 'auto');
$(".scroll").jScrollPane({ showArrows: true, scrollbarWidth: 15, wheelSpeed: 25 
});

Original comment by david.de...@outlook.com on 24 Jun 2010 at 11:06

GoogleCodeExporter commented 9 years ago
I have just announced the beta of a completely rewritten version of jScrollPane:

http://groups.google.com/group/jscrollpane/browse_thread/thread/c1bc1bf63e3f80d8

Please test and reply on the list if you are still having this issue,

Thanks,

Kelvin

Original comment by kelvin.l...@gmail.com on 17 Aug 2010 at 4:15