You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You would have to define deactivate and activate lifecycle methods for keep-alive to work.
But the problem is, Vue detach this component from DOM and when that happens the iframe loses its state. So the solution would be to probably attach the iframe to somewhere else in the DOM and apply display:none when deactivate() is called. And then attach it back on activate()
How to implement iframe without refreshing after route switching
The text was updated successfully, but these errors were encountered: