# Shareable component: Sizing issues

**URL:** <https://community.appfarm.io/t/shareable-component-sizing-issues/1771>\
**Category:** Ask the community\
**Tags:** ui, shareable-component\
**Created:** [April 2, 2025, 8:22am UTC](https://community.appfarm.io/t/shareable-component-sizing-issues/1771 "2025-04-02T08:22:31Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Joanna](https://dub1.discourse-cdn.com/flex013/user_avatar/community.appfarm.io/joanna/32/122_2.png) [@Joanna](https://community.appfarm.io/u/Joanna)\
**Post date:** [April 2, 2025, 8:22am UTC](https://community.appfarm.io/t/shareable-component-sizing-issues/1771/1 "2025-04-02T08:22:31Z")

</div>

Hi, I’m not sure if something is wrong in my setup, or it’s a shareable component issue, but I’ve encountered some problems with component sizing.

Here you can see a shareable component, and below the same component after detaching it from its parent. The detached component is sized correctly, but the exact same setup inside a shareable component seems to render a container that isn’t taking the entire available width.

Creating a component from the detached container fixes the issue but means having to replace all component instances.

 ![Appfarm_Create](https://europe1.discourse-cdn.com/flex013/uploads/appfarm/original/2X/7/7204108564d357115b06482256867e4b6ad1da62.jpeg)

 ![screenshot](https://europe1.discourse-cdn.com/flex013/uploads/appfarm/original/2X/3/3477a8c3fba7b66249e57c53595cf444069c5779.png)

Any ideas on how to fix this without having to detach the component?

---

<div class="post-metadata">

**Author:** ![emma](https://dub1.discourse-cdn.com/flex013/user_avatar/community.appfarm.io/emma/32/1649_2.png) [@emma](https://community.appfarm.io/u/emma)\
**Post date:** [April 4, 2025, 11:47am UTC](https://community.appfarm.io/t/shareable-component-sizing-issues/1771/2 "2025-04-04T11:47:06Z")

</div>

Hi, Joanna!

That does not sound right and is probably a bug. Could you give me a bit more information on the set up of the different containers so I can try to replicate the problem with some screenshots? You can send it to me in a DM if you want:)
