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

isotope container height will not grow with isotope-item #275

Closed
masterkrang opened this issue Sep 28, 2012 · 2 comments
Closed

isotope container height will not grow with isotope-item #275

masterkrang opened this issue Sep 28, 2012 · 2 comments

Comments

@masterkrang
Copy link

I have an isotope-item that will grow in height when somebody comments inside of it. When it grows, how do I tell the main isotope container to grow with it? Right now what is happening is, as the isotope-item grows, the isotope container maintains it's initial height that was set when calling $(".home_main").isotope(); So when I leave comments inside the isotope-item, the item grows, then is cut off by the main container. Thanks.

Also posted this question in stackoverflow: http://stackoverflow.com/questions/12648376/jquery-isotope-plugin-container-height-will-not-grow-with-isotope-item

@desandro
Copy link
Member

$container.isotope('reLayout');

Should be what you're looking for. That's exactly what happens in the demos http://isotope.metafizzy.co/demos/relayout.html

@masterkrang
Copy link
Author

thanks that was exactly what i was looking for :)

@metafizzy metafizzy locked and limited conversation to collaborators Apr 21, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Development

No branches or pull requests

2 participants