Shared module child component not visible properly when using with lazy loading route - Ionic v4


We have
A. app module,
B. one lazy load module and component
C. shared module with component

When i lazy load the module using router it works,
i had used that C module component which also works but it no showing properly in that component.

What i figure out that when we load a component either normally or using lazy load technique ionic add a class name “ion-page”.

And when i try to add a child component in that, it’s not visible, probably because of small height .

After i tried to add that class “ion-page”

manually to my component it display correctly.

Image will explain it better