# \[Bug-5869\] Popup Resize Broken in 8.1.16

**URL:** <https://forum.inductiveautomation.com/t/bug-5869-popup-resize-broken-in-8-1-16/59147>\
**Category:** Ignition\
**Tags:** ignition81, perspective\
**Created:** [May 3, 2022, 8:10am UTC](https://forum.inductiveautomation.com/t/bug-5869-popup-resize-broken-in-8-1-16/59147 "2022-05-03T08:10:48Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![deon.korb](https://avatars.discourse-cdn.com/v4/letter/d/8c91f0/32.png) [@deon.korb](https://forum.inductiveautomation.com/u/deon.korb)\
**Post date:** [May 3, 2022, 8:10am UTC](https://forum.inductiveautomation.com/t/bug-5869-popup-resize-broken-in-8-1-16/59147/1 "2022-05-03T08:10:49Z")

</div>

It seems that the content of popups do not resize since 8.1.16. Most of our popups are flex containers, with their content responsive to the size.

Since 8.1.16, the content only resizes if the popup was called with size information present. This applies to the native popup action and scripted popup called.

The results appear as follows:

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/d/f/df788763a0e1c7753c8df6d8eec5d93530d170c5.png)

This project demonstrates the bug:  
[PopupTest\_20220503101014.zip](https://forum.inductiveautomation.com/uploads/short-url/y7LllbeiUW4pkeTg0dycZxw1Fjh.zip) (14.0 KB)

---

<div class="post-metadata">

**Author:** ![stat](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/stat/32/32530_2.png) [@stat](https://forum.inductiveautomation.com/u/stat)\
**Post date:** [May 3, 2022, 8:49pm UTC](https://forum.inductiveautomation.com/t/bug-5869-popup-resize-broken-in-8-1-16/59147/2 "2022-05-03T20:49:33Z")

</div>

This is currently a known bug on our end that occurs in 8.1.16. We have an internal ticket created for this. Thank you for keeping us aware and for sharing the project.

The workaround is to set the popup’s Width/Height size to any value besides Auto.

---

<div class="post-metadata">

**Author:** ![ASF](https://avatars.discourse-cdn.com/v4/letter/a/c4cdca/32.png) [@ASF](https://forum.inductiveautomation.com/u/ASF)\
**Post date:** [May 19, 2022, 11:04pm UTC](https://forum.inductiveautomation.com/t/bug-5869-popup-resize-broken-in-8-1-16/59147/3 "2022-05-19T23:04:44Z")

</div>

Is there a timeframe for a fix for this issue?

---

<div class="post-metadata">

**Author:** ![cmallonee](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/cmallonee/32/6416_2.png) [@cmallonee](https://forum.inductiveautomation.com/u/cmallonee)\
**Post date:** [July 5, 2022, 3:30pm UTC](https://forum.inductiveautomation.com/t/bug-5869-popup-resize-broken-in-8-1-16/59147/4 "2022-07-05T15:30:15Z")

</div>

This issue was fixed as part of [8.1.19](https://forum.inductiveautomation.com/t/nightly-8-1-changelogs-2022/54636/101)

---

<div class="post-metadata">

**Author:** ![ASF](https://avatars.discourse-cdn.com/v4/letter/a/c4cdca/32.png) [@ASF](https://forum.inductiveautomation.com/u/ASF)\
**Post date:** [January 13, 2023, 3:11am UTC](https://forum.inductiveautomation.com/t/bug-5869-popup-resize-broken-in-8-1-16/59147/5 "2023-01-13T03:11:40Z")

</div>

The bug seems to be back in 8.1.23 - anyone else experiencing this?

---

<div class="post-metadata">

**Author:** ![cmallonee](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/cmallonee/32/6416_2.png) [@cmallonee](https://forum.inductiveautomation.com/u/cmallonee)\
**Post date:** [January 13, 2023, 3:53pm UTC](https://forum.inductiveautomation.com/t/bug-5869-popup-resize-broken-in-8-1-16/59147/6 "2023-01-13T15:53:20Z")

</div>

As part of the fix for this issue we also placed automated testing which exercises the fix and verifies Views expand to fill the available space of Popups as their dimensions change during resize events. This testing is passing nightly (8.1.25Nightly), but we never saw any failures of this testing during 8.1.24 or 8.1.23. If you're encountering this issue, please provide an in-depth example of the setup with which you're encountering this issue so that we can work to replicate it and determine what our automated testing might be missing.

We specifically need to know what container type is being used for the View of your Popup. Screenshots of why you think this bug has re-emerged would also be very helpful.

---

<div class="post-metadata">

**Author:** ![ASF](https://avatars.discourse-cdn.com/v4/letter/a/c4cdca/32.png) [@ASF](https://forum.inductiveautomation.com/u/ASF)\
**Post date:** [January 14, 2023, 4:18am UTC](https://forum.inductiveautomation.com/t/bug-5869-popup-resize-broken-in-8-1-16/59147/7 "2023-01-14T04:18:34Z")

</div>

Thanks, I'll try to do some more exhaustive testing and post back if I can reliably replicate it with all instances.

---

<div class="post-metadata">

**Author:** ![ASF](https://avatars.discourse-cdn.com/v4/letter/a/c4cdca/32.png) [@ASF](https://forum.inductiveautomation.com/u/ASF)\
**Post date:** [February 16, 2023, 12:35am UTC](https://forum.inductiveautomation.com/t/bug-5869-popup-resize-broken-in-8-1-16/59147/8 "2023-02-16T00:35:12Z")

</div>

OK, I'm able to replicate it reliably.

I have created a new project with a Home display (Coordinate container) and a popup. The popup is a flex container. On the home display I have a button that calls the popup with the following script:

```auto
system.perspective.openPopup(
		'TestId',
		'Popup',
		title = 'Testing Popup Scaling',
		resizable = True
	)

```

In the popup there is just one object - a label, set to auto basis with grow and shrink set to 1. I have set the background of the label to a red colour so I can see the actual size of the label. In the designer, I can drag the size of the view larger and smaller, and the label grows and shrinks as you'd expect to always be the full size of the view:

 ![Screen Shot 2023-02-16 at 11.30.37 am](https://us1.discourse-cdn.com/inductiveautomation/original/3X/4/a/4a7e814534ee7ed77b7d14975fa7accb35a77ea5.jpeg)  
 ![Screen Shot 2023-02-16 at 11.30.44 am](https://us1.discourse-cdn.com/inductiveautomation/original/3X/3/f/3ff465973fde39cab3a1369d2fe2b74735bbdadb.jpeg)

But at runtime, when I click the button to open the popup, and then resize the popup, the label stays at the same size when I resize the popup:

 ![Screen Shot 2023-02-16 at 11.33.08 am](https://us1.discourse-cdn.com/inductiveautomation/original/3X/f/e/fe2731cb4dfa2501cc6a5f3b6704f46857397aa2.jpeg)  
 ![Screen Shot 2023-02-16 at 11.33.14 am](https://us1.discourse-cdn.com/inductiveautomation/original/3X/b/6/b6cc3d3f0d3322ee9f5aa839d869b5a57cd5c4d3.jpeg)  
 ![Screen Shot 2023-02-16 at 11.33.19 am](https://us1.discourse-cdn.com/inductiveautomation/original/3X/5/c/5cd1c1541123fbc38eb375686ae2a0ebf019b999.jpeg)

I have tested this in Safari and Firefox (on Mac).

I have attached a project export. Ignition version is **8.1.23 (b2022121308)**  
[Testing\_20230216102722.zip](https://forum.inductiveautomation.com/uploads/short-url/4hCOTZHfkYByai6hiFYcxWnYxiG.zip) (8.7 KB)

---

<div class="post-metadata">

**Author:** ![cmallonee](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/cmallonee/32/6416_2.png) [@cmallonee](https://forum.inductiveautomation.com/u/cmallonee)\
**Post date:** [February 16, 2023, 11:17pm UTC](https://forum.inductiveautomation.com/t/bug-5869-popup-resize-broken-in-8-1-16/59147/9 "2023-02-16T23:17:37Z")

</div>

This is all highly suspicious...

While using the same build, I am unable to replicate the issue with the resources you've provided across Chrome, Firefox, or Safari.

**Gateway with specified build:**

![Screenshot 2023-02-16 at 3.15.22 PM](https://us1.discourse-cdn.com/inductiveautomation/original/3X/c/e/ce0dfd7424704b151f89c9531e7f10774bd261c8.png)

**Active session on that environment, after having resized the Popup:**

 ![Screenshot 2023-02-16 at 3.15.34 PM](https://us1.discourse-cdn.com/inductiveautomation/original/3X/b/a/ba38b1b5d0b5556fe907955044055af5c189798c.png)

While I've renamed the project and removed inheritance of the Global project, neither of those aspects should impact _this_ project. It would be interesting if this project truly inherited from the global project declared in the export, but without the global project I'll have to rely on you to let me know.

---

<div class="post-metadata">

**Author:** ![ASF](https://avatars.discourse-cdn.com/v4/letter/a/c4cdca/32.png) [@ASF](https://forum.inductiveautomation.com/u/ASF)\
**Post date:** [February 17, 2023, 4:52am UTC](https://forum.inductiveautomation.com/t/bug-5869-popup-resize-broken-in-8-1-16/59147/10 "2023-02-17T04:52:01Z")

</div>

I can't post the global project publicly, but if you have somewhere I can send it to you privately I'm happy to send that and/or a complete gateway backup.

This is really quite odd.

Edit: For what it's worth, I just turned off project inheritance for that project and tested again - same results

---

<div class="post-metadata">

**Author:** ![cmallonee](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/cmallonee/32/6416_2.png) [@cmallonee](https://forum.inductiveautomation.com/u/cmallonee)\
**Post date:** [February 17, 2023, 6:40am UTC](https://forum.inductiveautomation.com/t/bug-5869-popup-resize-broken-in-8-1-16/59147/11 "2023-02-17T06:40:08Z")

</div>

Let me get someone else to test it out tomorrow before we worry about the global project because there should be no reason for that to matter.

---

<div class="post-metadata">

**Author:** ![jcorey](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jcorey/32/26937_2.png) [@jcorey](https://forum.inductiveautomation.com/u/jcorey)\
**Post date:** [February 20, 2023, 5:09pm UTC](https://forum.inductiveautomation.com/t/bug-5869-popup-resize-broken-in-8-1-16/59147/12 "2023-02-20T17:09:17Z")

</div>

I just attempted this with the attached project and all is functioning as expected. I am on a Mac as well and tested with Chrome/FF/Safari.

---

<div class="post-metadata">

**Author:** ![ASF](https://avatars.discourse-cdn.com/v4/letter/a/c4cdca/32.png) [@ASF](https://forum.inductiveautomation.com/u/ASF)\
**Post date:** [February 21, 2023, 2:39am UTC](https://forum.inductiveautomation.com/t/bug-5869-popup-resize-broken-in-8-1-16/59147/13 "2023-02-21T02:39:22Z")

</div>

So, any ideas what it could be about our particular environment that causes this to behave differently? Is our Docker instance haunted? 🤣
