gromo / jquery.scrollbar

jQuery CSS Customizable Scrollbar
GNU General Public License v2.0
756 stars 238 forks source link

ScrollTop() doesn't run if scrollbar() use for the whole side #131

Closed derSteffen closed 6 years ago

derSteffen commented 7 years ago

Hello,

if I use scrollbar() as a whole side-wrapper, i can't use scrollTop()-Events to fade div or some other ScrollTop-Action!

My ScrollTop()-Events are before the scrollbar()-Events and libary! If I delete the whole-wrapper-site-scrollbar()-effect, the scrollTop() runs! Other scrollbar()-effects in the side also run perfect, including scrollTop()-Effects ..... only if i have a wrapper around the whole side with scrollbar() it want to be run.

The problem is the .wrapper { height: 100%; }

Do you have any solutions for me?

THANKS

Greetings

gromo commented 7 years ago

Try to set min-height: 100% together with height: 100%, should help

derSteffen commented 7 years ago

hello, nothing work ... it works. but not the scrollTop() ... i tried min-height, max-height together with height, I tried height with a pixel-value .. nothing. I tried differnt overflow or position!

gromo commented 7 years ago

Can you make an example on jsFiddle.net ?