Ion-tabs and rerendering

Is there a way to stop ionic from rerendering the ion-content when switching tabs?

I have only two tabs with scrollable and zoomable images in them. Everything works fine except when I zoom and scroll in one tab, switch out and switch back, all my zooming and scrolling is gone since ion-content rerenders.

If there is a way, do tell.

Thanks,

Arjun

Try to store your data (zoom level, scroll position etc) in $rootScope

Yeah that’s the only thing I could think of too.

It would just be much more effective to stop the re-rendering.

Thanks though, I’m attempting to implement it now.