# Popup is draggable when it should be stationary

**URL:** <https://forum.inductiveautomation.com/t/popup-is-draggable-when-it-should-be-stationary/26651>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [July 18, 2019, 5:19am UTC](https://forum.inductiveautomation.com/t/popup-is-draggable-when-it-should-be-stationary/26651 "2019-07-18T05:19:58Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![tgfgreaves](https://avatars.discourse-cdn.com/v4/letter/t/919ad9/32.png) [@tgfgreaves](https://forum.inductiveautomation.com/u/tgfgreaves)\
**Post date:** [July 18, 2019, 5:19am UTC](https://forum.inductiveautomation.com/t/popup-is-draggable-when-it-should-be-stationary/26651/1 "2019-07-18T05:19:58Z")

</div>

Hi,

I have a script on a Mouse Event which opens a dynamic popup.  
I want the popup to stay in place, however i cannot seem to get that to work.

‘’‘system.perspective.openPopup(“82h3d8”, “Page/Popups/Unit Performace”, position = {‘top’:0,‘left’:0,‘right’:0}, modal = True, draggable = False, resizable = False)’’’

---

<div class="post-metadata">

**Author:** ![amirsalar.arya.kia](https://avatars.discourse-cdn.com/v4/letter/a/d26b3c/32.png) [@amirsalar.arya.kia](https://forum.inductiveautomation.com/u/amirsalar.arya.kia)\
**Post date:** [October 4, 2019, 6:37am UTC](https://forum.inductiveautomation.com/t/popup-is-draggable-when-it-should-be-stationary/26651/2 "2019-10-04T06:37:48Z")

</div>

I’m having the same issue. Any solutions?

---

<div class="post-metadata">

**Author:** ![Steve\_Laubach](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/steve_laubach/32/60900_2.png) [@Steve\_Laubach](https://forum.inductiveautomation.com/u/Steve_Laubach)\
**Post date:** [December 19, 2019, 4:03pm UTC](https://forum.inductiveautomation.com/t/popup-is-draggable-when-it-should-be-stationary/26651/3 "2019-12-19T16:03:52Z")

</div>

I’m running Ignition 8.05 which has options in the popup command to specify draggable.

When I’m in a fullscreen layout the draggable setting works.

When I’m in mobile layout it does not.

---

<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:** [December 19, 2019, 4:47pm UTC](https://forum.inductiveautomation.com/t/popup-is-draggable-when-it-should-be-stationary/26651/4 "2019-12-19T16:47:31Z")

</div>

Is there any chance the Popup renders any portion of itself outside the viewable area of the mobile device?

---

<div class="post-metadata">

**Author:** ![Steve\_Laubach](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/steve_laubach/32/60900_2.png) [@Steve\_Laubach](https://forum.inductiveautomation.com/u/Steve_Laubach)\
**Post date:** [December 19, 2019, 4:48pm UTC](https://forum.inductiveautomation.com/t/popup-is-draggable-when-it-should-be-stationary/26651/5 "2019-12-19T16:48:42Z")

</div>

Yes. The edge of it is off the screen on some phone resolutions.

---

<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:** [December 19, 2019, 4:54pm UTC](https://forum.inductiveautomation.com/t/popup-is-draggable-when-it-should-be-stationary/26651/6 "2019-12-19T16:54:05Z")

</div>

Okay, then this is “expected”. We made a decision early on that when a Popup is rendered even partially off-screen that any interaction with the Popup MUST be a drag even, lest a user open a Popup which was not draggable but where the `X` is rendered off-screen. If we had not done this, then Popups opened as I described could not be closed.

This behavior has had several unforeseen consequences (like being unable to interact with inputs in such a Popup in any intended capacity), and so we have a ticket open to examine whether we should leave users in that situation to fix the issue on their own, but no ETA on when a decision will be made.

To work around this, you could make sure that your Popup does not open off-screen.
