# \[Bug-5138\] Perspective - Scripting - Open Popup - Position - Height

**URL:** <https://forum.inductiveautomation.com/t/bug-5138-perspective-scripting-open-popup-position-height/52890>\
**Category:** Ignition\
**Tags:** ignition80, perspective\
**Created:** [November 9, 2021, 6:06pm UTC](https://forum.inductiveautomation.com/t/bug-5138-perspective-scripting-open-popup-position-height/52890 "2021-11-09T18:06:57Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![luc.martin](https://avatars.discourse-cdn.com/v4/letter/l/77aa72/32.png) [@luc.martin](https://forum.inductiveautomation.com/u/luc.martin)\
**Post date:** [November 9, 2021, 6:06pm UTC](https://forum.inductiveautomation.com/t/bug-5138-perspective-scripting-open-popup-position-height/52890/1 "2021-11-09T18:06:57Z")

</div>

8.1.11

I got issue whem I use system.perspective.openPopup and set position={“height”:“auto”}, the popup can be more higher than the view port and the viewportBound is not respected.

---

<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:** [November 9, 2021, 6:30pm UTC](https://forum.inductiveautomation.com/t/bug-5138-perspective-scripting-open-popup-position-height/52890/2 "2021-11-09T18:30:41Z")

</div>

You’re correct. I’ve opened an internal ticket to address this. For a workaround in the meantime, if you want to open a Popup where it is viewport bound AND you want it to open as tall as it needs to be, then just do not specify the height (or width, if using a wide view); not specifying the height results in the correct “auto” usage.
