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

Picturefill and Isotope #892

Closed
albi opened this issue Mar 25, 2015 · 1 comment
Closed

Picturefill and Isotope #892

albi opened this issue Mar 25, 2015 · 1 comment

Comments

@albi
Copy link

albi commented Mar 25, 2015

Hi deSandro,

having an issue with picturefill.js (used in Wordpress as plugin called "WP Retina 2x") and Isotope (latest). Picturefill is running in the and Isotope at the end (combined with other scripts). Even wrapping document ready around isotope won't layout al tiles properly. Some of them are displayed above others. Mostly at the end of the site. imagesloaded() is included and works as expected.

I think it has to do with the method picturefill replaces the images. Is there any callback to start the isotope layout after picturefill is done?

Example: http://silvioketterer.ch/projekte/

Kind regards
Alex

@desandro
Copy link
Member

Thanks for reporting this issue. Looking over the picturefill.js docs it appears that picture fill does not provide any callbacks or event handling.

Closing here. See convo at scottjehl/picturefill#467

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

No branches or pull requests

2 participants