O
O
onahapa2015-01-07 18:47:33
JavaScript
onahapa, 2015-01-07 18:47:33

How to fix Masonry issue with Chrome?

Masonry in FireFox
511834c63e2b4c50b79661678ed44466.PNG
Masonry in Google Chrome
f14e9049c207435296e4246a12a56271.PNG

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
kapuletti, 2015-01-15
@onahapa

There is not enough code to pinpoint exactly what the problem is. Can you give a link?
By the way, I can assume that the problem may be due to the fact that the text is loaded dynamically or that non-standard fonts are used. Those. first, Mansonry does all the height calculations for the already loaded standard fonts, and when custom fonts are loaded, the block increases. If this is the case, try running the mansonry renderer function in the console. If everything is fixed, then you need to track the changes and perform a render after loading the text / pictures / fonts.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question