# Component View to fill 100% of container

**URL:** <https://devforum.zoom.us/t/component-view-to-fill-100-of-container/68519>\
**Category:** Meeting SDK\
**Created:** [May 4, 2022, 7:10pm UTC](https://devforum.zoom.us/t/component-view-to-fill-100-of-container/68519 "2022-05-04T19:10:20Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![andy1](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/andy1/32/34382_2.png) [@andy1](https://devforum.zoom.us/u/andy1)\
**Post date:** [May 4, 2022, 7:10pm UTC](https://devforum.zoom.us/t/component-view-to-fill-100-of-container/68519/1 "2022-05-04T19:10:20Z")

</div>

Hi, how can I make the component view fill it’s container without dragging? and without fixing the width on client.init()? I see how to do a fixed resize on init here … [Resizing (zoom.us)](https://marketplace.zoom.us/docs/sdk/native-sdks/web/component-view/resizing)

but my component view needs to live inside a side panel that is resizable.

I’m running the Angular sample from here …  
[zoom/meetingsdk-sample-angular: Use the Zoom Meeting SDK in an Angular App (github.com)](https://github.com/zoom/meetingsdk-sample-angular)  
Thanks  
–Andy

---

<div class="post-metadata">

**Author:** ![andy1](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/andy1/32/34382_2.png) [@andy1](https://devforum.zoom.us/u/andy1)\
**Post date:** [May 9, 2022, 6:22pm UTC](https://devforum.zoom.us/t/component-view-to-fill-100-of-container/68519/2 "2022-05-09T18:22:44Z")

</div>

I haven’t made any progress on this, the best I can do is set a fixed width on client.init() which doesn’t fit with our whiteboard application.

I looked at using iframes … (but I noticed that these are not supported)

I looked at the Client View … (but that takes over the entire document body, so no good)

No solution here.  
–Andy

---

<div class="post-metadata">

**Author:** ![dbevan](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/dbevan/32/38318_2.png) [@dbevan](https://devforum.zoom.us/u/dbevan)\
**Post date:** [June 8, 2022, 3:18pm UTC](https://devforum.zoom.us/t/component-view-to-fill-100-of-container/68519/3 "2022-06-08T15:18:43Z")

</div>

I’m stuck here as well. Any insight on this @tommy?

---

<div class="post-metadata">

**Author:** ![Wissam](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/wissam/32/40568_2.png) [@Wissam](https://devforum.zoom.us/u/Wissam)\
**Post date:** [August 17, 2022, 8:43am UTC](https://devforum.zoom.us/t/component-view-to-fill-100-of-container/68519/4 "2022-08-17T08:43:19Z")

</div>

any new updates here? we are stuck on the same issue

---

<div class="post-metadata">

**Author:** ![andy1](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/andy1/32/34382_2.png) [@andy1](https://devforum.zoom.us/u/andy1)\
**Post date:** [June 27, 2023, 5:13pm UTC](https://devforum.zoom.us/t/component-view-to-fill-100-of-container/68519/5 "2023-06-27T17:13:16Z")

</div>

Thanks to the Zoom team for supporting iframes …  
[https://devsupport.zoom.us/hc/en-us/articles/13662906729485](https://devsupport.zoom.us/hc/en-us/articles/13662906729485)

I was able to use the Client View now with an iframe to show Zoom inside of a resizable widget to solve this issue.

If you’re interested, here is a look at Zoom embeded into our large screen whiteboard app …  
–Andy

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/a/7/a7b16948cda86ba3a4d9718edc58dfe47bb499c1.png)

---

<div class="post-metadata">

**Author:** ![julian2](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/julian2/32/52348_2.png) [@julian2](https://devforum.zoom.us/u/julian2)\
**Post date:** [September 22, 2023, 9:32pm UTC](https://devforum.zoom.us/t/component-view-to-fill-100-of-container/68519/6 "2023-09-22T21:32:54Z")

</div>

I’ve been trying to figure out how to get the meetings sdk to work in an iframe, but it keeps trying to redirect me to the app. Would you mind providing some additional context on how you got it working?
