Closed kaljak closed 4 years ago
'jg.complete' should be fired when everything is set up (https://github.com/miromannino/Justified-Gallery/blob/2cfe37a7c6b5adb59e43b809b0c519007fed779b/src/js/justifiedGallery.js#L770). Currently it is fired before 'jg.complete', so the callback can't rely on the container size of the justified gallery.
'jg.complete' should be fired when everything is set up (https://github.com/miromannino/Justified-Gallery/blob/2cfe37a7c6b5adb59e43b809b0c519007fed779b/src/js/justifiedGallery.js#L770). Currently it is fired before 'jg.complete', so the callback can't rely on the container size of the justified gallery.