AlreadyM / jscrollpane

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

Scrollbar absent in Safari & Chrome, good in other browsers #141

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Viewing the test page below in either Chrome or Safari
2.
3.

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

Great looking scrollbar as in other browsers.

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

Using 1.2.3 minified.

Please provide a URL to a page displaying the problem.

http://www.finelysliced.com.au/dev/clarendon/listing.html

Please provide any additional information below.

I've tried removing margins and positioning from #listing-list-wp.

Thanks very much for your help!

Original issue reported on code.google.com by hchf...@gmail.com on 13 Oct 2009 at 8:48

GoogleCodeExporter commented 9 years ago
Hi,

I'm not sure what might be going on there. Please try using the latest version 
of
jScrollPane and see if that improves things:

http://www.kelvinluck.com/assets/jquery/jScrollPane/scripts/jScrollPane.js

Thanks,

Kelvin :)

Original comment by kelvin.l...@gmail.com on 13 Oct 2009 at 8:56

GoogleCodeExporter commented 9 years ago
Thanks for your fast reply Kelvin. I tried the latest and it made no change. 

I have noticed that the scrollbar will show up if you load the page, use the 
back button to navigate away from 
it, then use the forward button to come back to the cached page. I changed to 
$(window).load(function() and 
it fixed it. But I don't think it's ideal, because now I get a quick flash of 
unstyled scrollbar.

Does this mean perhaps the standard jquery $(document).ready(function() is too 
fast?

Thanks for a great plugin by the way!

Original comment by hchf...@gmail.com on 13 Oct 2009 at 9:21

GoogleCodeExporter commented 9 years ago
I have seen this happen before on Safari where the JS is included above the CSS 
but
that doesn't seem to be the case here... I just validated your page to see if 
there
was any errors which might be causing problems and saw this:

http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fwww.finelysliced.com.au
%2Fdev%2Fclarendon%2Flisting.html

Possibly adding the type="text/javascript" to the script include tags will 
help...
Other than that I'm really not sure what's causing your problem... It certainly
should work with document.ready...

Original comment by kelvin.l...@gmail.com on 13 Oct 2009 at 9:55

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:12