# Popup not resizing after moving

**URL:** <https://forum.inductiveautomation.com/t/popup-not-resizing-after-moving/113088>\
**Category:** Ignition\
**Tags:** ignition81, perspective\
**Created:** [January 6, 2026, 9:31am UTC](https://forum.inductiveautomation.com/t/popup-not-resizing-after-moving/113088 "2026-01-06T09:31:47Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![bram.vanacker](https://avatars.discourse-cdn.com/v4/letter/b/f0a364/32.png) [@bram.vanacker](https://forum.inductiveautomation.com/u/bram.vanacker)\
**Post date:** [January 6, 2026, 9:31am UTC](https://forum.inductiveautomation.com/t/popup-not-resizing-after-moving/113088/1 "2026-01-06T09:31:47Z")

</div>

Hi,

i have a popup with a flex container where i resize the height depending on the displayed elements. This works ok if the popup stays on the same position. But when i move the popup, it doesn’t work anymore.

I have linked the default height with a parameter, because the actual height is not available.

Is there a way to make this work when the popup is moved? Or even better, is there a method on a flex container that makes the size equal to the sum of the displayed containers?

---

<div class="post-metadata">

**Author:** ![nminchin](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nminchin/32/6911_2.png) [@nminchin](https://forum.inductiveautomation.com/u/nminchin)\
**Post date:** [January 6, 2026, 10:21am UTC](https://forum.inductiveautomation.com/t/popup-not-resizing-after-moving/113088/2 "2026-01-06T10:21:49Z")

</div>

You can set the view's size to auto to make it resize automatically.

See here

> [@Useful CSS Stuff](https://forum.inductiveautomation.com/t/useful-css-stuff/95414/11):
>
> Adding this to the adv. stylesheet will allow popups to be resized dynamically. Without this, the size gets stuck when you're trying to reduce the size (I believe). Taken from [here](https://forum.inductiveautomation.com/t/perspective-popup-height-changes-when-dragged/96657/6). .ia\_popup[id^="popup-"]{ height: auto !important; } Also, setting the popup View's props.defaultSize.height: auto will auto-size the popup's height dynamically to its content which is quite useful.

---

<div class="post-metadata">

**Author:** ![bram.vanacker](https://avatars.discourse-cdn.com/v4/letter/b/f0a364/32.png) [@bram.vanacker](https://forum.inductiveautomation.com/u/bram.vanacker)\
**Post date:** [January 6, 2026, 12:20pm UTC](https://forum.inductiveautomation.com/t/popup-not-resizing-after-moving/113088/3 "2026-01-06T12:20:39Z")

</div>

Thx, it did the trick
