Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70435

Ion-content in R4 child component

$
0
0

In my Ionic 3 app I have a hierarchical component setup whereby the ion-content (and ion-header) is only declared at the bottom level i.e in a very simplified form it looks something like this:

Component A contains:

<componentB><componentB>

Component B contains:

<componentC><componentC>

Component C contains:

<ion-header><ion-header>
<ion-content><ion-content>

I’m migrating the app to Ionic 5 at the moment and it appears that this will no longer work - I can only get something to display on the screen if the ion-content and ion-header tags are moved up to the very top level i.e in Component A. Does it make sense that this would no longer work in Ionic 4/5 or is there something I can do to make to work?

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 70435

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>