Tab inside a tab in ionic

I am building an ionic app in which a tab contains another tab. The problem is the child tab get hidden under the parent tab. How to resolve this issue? Any other alternative for using tabs?

You’d want to avoid UI like that. It ends up making view and history management quite complicated and hard to reason on our end.