ionTab gets removed after being de-selected?


#1

Is there a way to prevent ionTab from being removed after being de-selected? I’m trying to preserve a data list that is already loaded from the server-side and is inserted into the tab so that I don’t have to go through the data loading again after I de-select and select it. Thanks.


#2

Are you load the data through an angular service? If so, then the data should persist through out all the entire app


#3

Hi, the data does persist. The problem is that every time you switch to another tab from a tab, the tab view gets removed 'cause there will be only 1 tab view exists at a time. Thanks.


#4

Can you put together a codepen example of this? By default, tabs should keep their own history stack


#5

Ok, will do that later. Thanks!