Has anyone been able to get the progress bar for UXP API 2 to work? I have a function that takes 10+ seconds. However, the progress bar only appears for a fraction of a second at the end of the function. It just flashes on the screen after everything has finished processing.
For testing, I added more commands to slow down the function. However, it still just flashes for a fraction of a second at the very end regardless of how long the function takes to run.
The documentation states that it will automatically appear after 2 seconds. Is there a way to force it to appear right away without a delay? I tried using executionControl.reportProgress to set the progress bar value at the beginning of the function. I was hoping that this would set the value and pop up the progress bar immediately. However, it didn’t work. It still just popped it up briefly at the end.