# Popup still draggable even if I put it on false

**URL:** <https://forum.inductiveautomation.com/t/popup-still-draggable-even-if-i-put-it-on-false/59710>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [May 18, 2022, 9:28am UTC](https://forum.inductiveautomation.com/t/popup-still-draggable-even-if-i-put-it-on-false/59710 "2022-05-18T09:28:49Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![hugobre](https://avatars.discourse-cdn.com/v4/letter/h/779978/32.png) [@hugobre](https://forum.inductiveautomation.com/u/hugobre)\
**Post date:** [May 18, 2022, 9:28am UTC](https://forum.inductiveautomation.com/t/popup-still-draggable-even-if-i-put-it-on-false/59710/1 "2022-05-18T09:28:49Z")

</div>

Hey!

I have a onClick Event script for a button that open a Popup with a chart.

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/8/e/8e5a5634d5b1399a8d790d4c91f0a56386e0fafa.png)

And I don’t want the popup to be draggable so I made the script bellow.

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/8/3/833f946643b90819c231413b4cb85352dba86336.png)

But even with this script the popup is draggable.  
So if you have any idea on how to help me, I’ll take it !

Thanks !

---

<div class="post-metadata">

**Author:** ![Transistor](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/transistor/32/3380_2.png) [@Transistor](https://forum.inductiveautomation.com/u/Transistor)\
**Post date:** [May 18, 2022, 9:52am UTC](https://forum.inductiveautomation.com/t/popup-still-draggable-even-if-i-put-it-on-false/59710/2 "2022-05-18T09:52:17Z")

</div>

I checked it on 8.1.15 and `draggable = False` prevents dragging.  
`system.perspective.openPopup(id="123", view = 'myColumnView', draggable = False, position = {'left':150, 'top': 50})`

`True` enables dragging too.

* * *

Tip: add the ‘Perspective’ tag to your post. It will attract the experts.

---

<div class="post-metadata">

**Author:** ![hugobre](https://avatars.discourse-cdn.com/v4/letter/h/779978/32.png) [@hugobre](https://forum.inductiveautomation.com/u/hugobre)\
**Post date:** [May 18, 2022, 9:54am UTC](https://forum.inductiveautomation.com/t/popup-still-draggable-even-if-i-put-it-on-false/59710/3 "2022-05-18T09:54:01Z")

</div>

Thank you for the tip 😉

---

<div class="post-metadata">

**Author:** ![pascal.fragnoud](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pascal.fragnoud/32/24728_2.png) [@pascal.fragnoud](https://forum.inductiveautomation.com/u/pascal.fragnoud)\
**Post date:** [May 18, 2022, 10:54am UTC](https://forum.inductiveautomation.com/t/popup-still-draggable-even-if-i-put-it-on-false/59710/4 "2022-05-18T10:54:21Z")

</div>

Any reason you’re not using the built-in popup ?

 ![popup](https://us1.discourse-cdn.com/inductiveautomation/original/3X/d/e/dee811cc886786d6761aa0e9d14b5141de29dd8f.png)

---

<div class="post-metadata">

**Author:** ![hugobre](https://avatars.discourse-cdn.com/v4/letter/h/779978/32.png) [@hugobre](https://forum.inductiveautomation.com/u/hugobre)\
**Post date:** [May 18, 2022, 11:30am UTC](https://forum.inductiveautomation.com/t/popup-still-draggable-even-if-i-put-it-on-false/59710/5 "2022-05-18T11:30:17Z")

</div>

The only reason is that when I did that previously, the values in the chart were not the good ones.  
But the problem was in my script and I solved it. So now I’ll retry to use the Popup instead.
