mzubala / jquery-custom-scrollbar

189 stars 102 forks source link

Max-Height #24

Closed tobias-r closed 10 years ago

tobias-r commented 10 years ago

If I put CSS 'max-height' attribute on a container (without height), scroller is not working.

Cheers

tobias-r commented 10 years ago

Hi, perfect it works so far.

However I realized on little problem I'd like to discuss:

Maybe with a resize-call the layer height should be readjusted as well, if smaller than max-height of course??

What do you think?

Tobias
mzubala commented 10 years ago

it should work as you expect now

tobias-r commented 10 years ago

I am experiencing problems now with containers without max-height.

The height in the Viewport-layer is not set in my case? Can you reproduce this?

mzubala commented 10 years ago

If you don't set max-height you have to set height. One of them needs to be set. I'm not seeing any problems. Would be great if you could submit some code that causes the error.

tobias-r commented 10 years ago

The error occured with the update - I didn't change anything and it worked before. I cannot provide a test dummy right now, but I can give you more details:

tobias-r commented 10 years ago

I hate to say, but it was my bad. In the end a timing problem occured cos of different reasons. Sorry for the shock ;-)