I'm using an html iframe to display a pie chart using chart.js. It works fine in the preview and also loads correctly once in the live version, but if I refresh the page or leave it and return, the pie chart is still visible but the data I am pushing to it using postmessage does not load.
What's even more strange is that if I delete cookies and cache, the chart works again once only (and in incognito it works most of the time, but sometimes still fails to load). Has anyone ever come across an issue like this?
I've used the exact same code in the regular Wix Editor and it works fine.