# Indeterminate progress bar

**URL:** <https://forums.creativeclouddeveloper.com/t/indeterminate-progress-bar/3152>\
**Category:** UXP Plugin API\
**Tags:** ui, javascript\
**Created:** [June 23, 2021, 10:46am UTC](https://forums.creativeclouddeveloper.com/t/indeterminate-progress-bar/3152 "2021-06-23T10:46:58Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lars](https://avatars.discourse-cdn.com/v4/letter/l/74df32/32.png) [@Lars](https://forums.creativeclouddeveloper.com/u/Lars)\
**Post date:** [June 23, 2021, 10:46am UTC](https://forums.creativeclouddeveloper.com/t/indeterminate-progress-bar/3152/1 "2021-06-23T10:46:58Z")

</div>

Hi,  
I’m trying to include an indeterminate progress-bar in my UXP plug-in, but the bar is not animated:

html-snippet

```auto
<body>
<dialog id="myProgress">
<form method="dialog">
<sp-progressbar indeterminate>Indeterminate</sp-progressbar>
</form></dialog></body>

```

In Javascript I show the bar by calling:

```auto
    _showProgressBar = async() => {
        document.getElementById("myProgress").uxpShowModal({
            title: "myTitle",
            resize: "none",
            size: {
                width: 480,
                height: 240
            }
        });
}

```

Are modal dialogs not updated?

Kind regards  
Lars

---

<div class="post-metadata">

**Author:** ![tomzag](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.creativeclouddeveloper.com/tomzag/32/2464_2.png) [@tomzag](https://forums.creativeclouddeveloper.com/u/tomzag)\
**Post date:** [June 23, 2021, 6:55pm UTC](https://forums.creativeclouddeveloper.com/t/indeterminate-progress-bar/3152/2 "2021-06-23T18:55:02Z")

</div>

As far as I know only determinate progress bars are implemented.

---

<div class="post-metadata">

**Author:** ![kerrishotts](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.creativeclouddeveloper.com/kerrishotts/32/8_2.png) [@kerrishotts](https://forums.creativeclouddeveloper.com/u/kerrishotts)\
**Post date:** [June 23, 2021, 10:29pm UTC](https://forums.creativeclouddeveloper.com/t/indeterminate-progress-bar/3152/3 "2021-06-23T22:29:48Z")

</div>

Animation is one of those things blocked by the legacy compositing engine in Ps, so indeterminate progress bars are not currently supported.  
You can do basic animation with requestAnimationFrame, but the CPU utilization will be quite high, and Ps may become much slower to work, so I’d advise against it for now.
