jamesflorentino / nanoScrollerJS

A jQuery plugin that offers a simplistic way of implementing Lion OS scrollbars.
http://jamesflorentino.github.com/nanoScrollerJS/
MIT License
2.69k stars 502 forks source link

Height problems when max-height is in % #265

Open matijamrkaic opened 10 years ago

matijamrkaic commented 10 years ago

If the element has max-height: 100% [percentage based] in css, script sets height: 100px on that element.

In v.0.8.4, I would guess that it happens at line 710 - 714 with parentMaxHeight.

kristerkari commented 10 years ago

Thanks, I'll have a look at how the height is calculated.