Hmm, I can confirm. I was aware that processing the justified-layout was relatively heavy (proportional to the amount of images), although this is mostly noticeable on mobile-devices when there are hundreds of images. However, your discovery seems like a NEW issue in a Safari-update, which I didn't noticed earlier. Justified layout should not be
that much slower in Safari than other browsers from the
same device.
I will do some more tests tomorrow. In the meantime, you may need to use another gallery-layout, especially if the page has several hundred images.
Some related comments:
- For some reason, the issue does not seem proportional with the amount of images ... but rather directly related to the large amount of images itself. For example, the justified layout in our demo gallery appears almost instantly in Safari ... Although there are only 46 images, you would expect it to take at least 2 seconds (proportionally speaking).
- We are considering a new justified-layout engine using modern CSS (flex-box), which should be several times faster than the current javascript-layout method. This won't be available immediately though ...
- I'm thinking now that small/mobile screens (<= 640) should probably bypass the justified layout. Seems pointless to process justified layout on a small screen where (in most cases) all the images stack vertically anyway.
Thanks for reporting.