# Perspective Popup runtime resize behavior

**URL:** <https://forum.inductiveautomation.com/t/perspective-popup-runtime-resize-behavior/57007>\
**Category:** Ignition\
**Tags:** perspective, ignition81\
**Created:** [March 9, 2022, 9:42am UTC](https://forum.inductiveautomation.com/t/perspective-popup-runtime-resize-behavior/57007 "2022-03-09T09:42:05Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![victordcq](https://avatars.discourse-cdn.com/v4/letter/v/f6c823/32.png) [@victordcq](https://forum.inductiveautomation.com/u/victordcq)\
**Post date:** [March 9, 2022, 2:47pm UTC](https://forum.inductiveautomation.com/t/perspective-popup-runtime-resize-behavior/57007/6 "2022-03-09T14:47:10Z")

</div>

> [@mahsasalimi](#):
>
> `self.view.props.defaultSize.width = 660`

It seems that the moment you resize or move the popup, ignition assigns a width and height to the element above the popup view.  
I dont think there is going to be anything you can do (without javascript) to prevent this.

You could target the popup specificly with a css to unset the width and height.  
Resizing with the mouse wont work anymore but dragging still works

```python
#popup-YourPopupId {
    width: auto !important;
    height: auto !important;
}

```

![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/d/b/db9e8b672bc6f8fb51b334b347acc2103c5ddcfb.png)  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/0/2/02e8a748d2b566b05a9fa69965cd02493973dada.png)

---

_[View the full topic](https://forum.inductiveautomation.com/t/perspective-popup-runtime-resize-behavior/57007)._
