You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 6, 2022. It is now read-only.
having an issue with the method picturefill and Isotope (latest). Picturefill is running in the head and Isotope at the end (combined with other scripts). Even wrapping document ready around isotope won't layout all tiles properly. Some of them are displayed above others. Mostly at the end of the site.
Is there any callback to start the isotope layout after picturefill is done?
Example: … (removed)
Kind regards
Alex
The text was updated successfully, but these errors were encountered:
But I would strongly discourage from actually using it. Waiting until all images are loaded until doing layout is so out of time (It is really bad practice!).
The best thing you can do is to use the CSS intrinsic pattern to solve your problem. Also picturefill does not need a ready event here. There is the browsers own event called onload. To make things short, here is a similar question and the answer providing 3 solutions in another repo, but heavily related to picturefill.
Hi scottjehl,
having an issue with the method picturefill and Isotope (latest). Picturefill is running in the
head
and Isotope at the end (combined with other scripts). Even wrapping document ready around isotope won't layout all tiles properly. Some of them are displayed above others. Mostly at the end of the site.Is there any callback to start the isotope layout after picturefill is done?
Example: … (removed)
Kind regards
Alex
The text was updated successfully, but these errors were encountered: