iframe inside multiview

It seems that the iframe inside a multiview gets reloaded at each view switch. Is it possible to preserve the iframe session? Thanks.

Unfortunately it can’t be fixed in current version.
The not-visible elements in multiview are detached from the dom, and iframe refresh self each time as it was re-attached to the dom - it is the native browser’s behavior.

Suggesting an idea, without having it confirmed if it works…:

could you change the parent of iframe before changing view switch an change it back after? this could preserve it from being detached from the dom…

In local test when attaching iframe node to different parent, without fully removing from the DOM it still initiates iframe reloading. It seems the only way to preserve content is never change the iframe position in the document’s structure.

On other hand, there are very limited scenarios where you need to use iframes in the app. In most cases it can be replaced with template view.

hi!, you have planned to fix this in future versions? thks

Currently we do not plan to change the existing behavior.

The only way to workaround the issue will require a major change in logic of tabview and multiview, that can result in negative performance impact for other users.