Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New feature: Automatic recalculation of height #11

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

TueCN
Copy link

@TueCN TueCN commented Jan 18, 2016

Added the possibility to recalculate height when the height of the document changes due to css classes being added/removed (see the updated readme).
When the height has changed, a resize event is triggered, causing angular-auto-height to recalculate the height.

This is useful when dynamically changing the height of elements (and thus the document as a whole) when collapsing/expanding sections using http://angular-ui.github.io/bootstrap/#/collapse

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant