# Resize parent ion-content based on child container

**URL:** <https://forum.ionicframework.com/t/resize-parent-ion-content-based-on-child-container/130855>\
**Category:** ionic-v3\
**Created:** [May 19, 2018, 10:04am UTC](https://forum.ionicframework.com/t/resize-parent-ion-content-based-on-child-container/130855 "2018-05-19T10:04:27Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![hardikdg](https://avatars.discourse-cdn.com/v4/letter/h/9de053/32.png) [@hardikdg](https://forum.ionicframework.com/u/hardikdg)\
**Post date:** [May 19, 2018, 10:04am UTC](https://forum.ionicframework.com/t/resize-parent-ion-content-based-on-child-container/130855/1 "2018-05-19T10:04:28Z")

</div>

I am creating PWA website with Ionic.  
For the PWA I am adding child components into one parent ionic page.

To make it scrollable on device and smaller screen I have added ion-content in the child components.  
So when I add that component to the parent page it comes with its scroll. So what I currently have is child page scroll with parent page scroll.  
I don’t want a scroll of the child components. I want to have a component of full size without child scroll and the child will scroll by the parent page’s scroll only.

So how can I set the child component height as full size so no scrollbar is needed and add it to the parent page so i get all the component in the single parent scroll

---

<div class="post-metadata">

**Author:** ![mhartington](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/mhartington/32/137757_2.png) [@mhartington](https://forum.ionicframework.com/u/mhartington)\
**Post date:** [July 19, 2021, 9:35pm UTC](https://forum.ionicframework.com/t/resize-parent-ion-content-based-on-child-container/130855/2 "2021-07-19T21:35:12Z")

</div>

Closed on July 19, 2021, 9:35pm UTC


