Skip to content

Conversation

@hannasm
Copy link

@hannasm hannasm commented Sep 20, 2017

I have created a fiddle demonstrating the issue here: https://jsfiddle.net/8us8m1wb/1/

Using a css style with "max-height: 0; overflow:hidden" is an effective way to hide an tree in the page in a way that can be animated through css transitions.

I am using the 'container' feature as well. The parent container has max-height:0 (or max-width) and the child element is not displayed, but blazy still loads it.

Checking the width and height of the rect fixes this issue

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