jeffreyhi1 / jscrollpane

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

Using max-height instead of height does not show scrollbar #182

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Instead of height: XXXpx, use max-height: XXXpx in the body area
2. Even though the content is hidden in what would be the scrollable area, 
the scrollbar does not appear

What is the expected output? What do you see instead?
Expected: No scrollbar unless max-height reached, then scrollbar. Seen: No 
scrollbar regardless of height setting.

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

Latest version from project, IE 8 and Firefox 3.6, WinXP Pro

Original issue reported on code.google.com by kmac2...@gmail.com on 2 Apr 2010 at 1:12

GoogleCodeExporter commented 9 years ago
Setting max-height is not supported. As mentioned in the documentation, you 
have to
set a static height on the element you convert to a jScrollPane for it to work 
reliably.

I have assigned this as a feature request and may investigate in future to see 
what
would be necessary to make this work...

Original comment by kelvin.l...@gmail.com on 4 Apr 2010 at 5:22

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

GoogleCodeExporter commented 9 years ago
I think of this more as a bug rather than a feature request. Enhancing look of 
a scrollbar via jScrollPane should not break the default functionality provided 
by all modern browsers. Here I have put a test sample together:

http://sandbox.saeidmohadjer.com/jscrollpanetest.html

Regards,
Saeid

Original comment by saeid.mo...@gmail.com on 12 Jul 2012 at 3:56