Instagram Feed not initializing in display:none container

Hello, i use Instagram feed modules inside a custom tabs module on my website
Ex: General informations | Instagram | Contact | etc…

So my Instagram tab is hidden by default when page is loading and Instagram feed module is not initializing properly.

I tested removing my tabs module and just display:none the feed’s container and same results.

This issue appear recently with the new embed code. I had a similar issue with the previous code and i I managed to fix it by adding a small resize event when changing tab.

window.dispatchEvent(new Event(‘resize’));

This doesnt work anymore.
Can you investigate please ?
Thank you !

1 Like

Hi there and welcome to Elfsight family :wave:

Could you please share a link to the page where your widget is instaled?

I’ll be happy to look into this for you :slightly_smiling_face:

Hi Max !
Not working : LAM Charpente - Charpente - Entreprise de construction - 84320 Entraigues-sur-la-Sorgue
Working : LAM Charpente - Charpente - Entreprise de construction - 84320 Entraigues-sur-la-Sorgue

1 Like

I use Firefox ! :stuck_out_tongue:

1 Like

Thank you!

Your request is in the capable hands of our devs. I’ll let get back to you once any news come up :slightly_smiling_face:

Hi @Jeremie :wave:

Thank you for waiting!

We’ve fixed the issue. Could you please check your widget and let me know if it’s fine on your end?

Yes, it work fine. Thank you Max !

1 Like

That’s all right :wink: