Open morganiq opened 9 years ago
Thanks for your addition! I checked your CoffeeScript source and it won't work like this, though..
You need to change the code to:
property = if $attrs.autoHeight == 'min-height' then 'min-height' else 'height'
If you can make this change by yourself, I will test and merge the PR afterwards.
Fixed! Sorry, forgot about this PR for a while.
Thank you for fixing it.
I will check it out later today.
hi morganiq
i just talked to m43nu about this stalled request - the cause we didn't merge it yet is the remaining merge conflicts. would you mind fixing them? alternatively we'll do - sometime ;)
Sorry again for the delay; I've merged the changes. Again, I manually edited and tested the JavaScript source only. CoffeeScript changes were eyeballed and are untested.
Updated with properly re-generated and disted auto-height.js
, resolving the merge conflict. Manually tested in browser; should be good to merge now. Sorry for not keeping an eye on this!
To allow vertical expansion of the container below the fold for content tall enough to do so, look for an optional value of
min-height
and, if present, set that property instead ofheight
. Includes README update.Note: CoffeeScript edits untested. Manually edited and tested JavaScript source only.