Masonry not initializing when inside a tab pane

Hello,

I have a masonry grid with images inside a tab pane. It doesn’t initialize when the tabpane is toggled and is active, I need to actually scroll the page for it to initialize. If I put the same masonry outside of the tabpane, it works fine.
This is what I get when the tabpane is activated and becomes visible:

An this is what I get when there is any interaction with the page:

I’ve seen this logged previously: Issue with multiple masonry in a page and how to initialise / destroy it . I wouldn’t mind having a line of code to trigger the init of the masonry as a hack, it’s something outside of my skillset right now.

Community Page
Last updated: