Hello,
since iOS 14 has been introduced, there’s been some issues with web application embedding webGL canvas - the issue being the auto refresh of the page caused by a memory issue (it seems).
With IOS 15, the problem is less persistent, meaning that a project i’m working on that couldn’t even load on mobile cause kept refreshing now, with the 15 version, is showing the page as expected.
The only problem is that, whenever i resize the page (when the navigation bars appear/disappear, or when i trigger it voluntarily), the website still auto-refreshes.
I realized that, when removing the engine.resize()
code, it doesn’t refresh anymore.
These are the properties of the instanced engine → new Engine(canvas, true, { preserveDrawingBuffer: true, stencil: true }, true)
I tried to create a playground, but the model and code is too light to recreate that problem.
My project is kind of big and has a large use of 3d, so I guess that also this aspect has an impact.
Does anyone else has experienced this issue? Do you know if there’s a way to avoid it?
Thank you in advance