How to change <dialog> position?

Is there a way to change the <dialog> position?
Right now it’s positioned closer to the top, I want it to be in the middle.
Thanks!

I thought it showed up in the middle by default, but users could move it elsewhere. And, once the user moved it, it stays there until Ps is relaunched.

well, I thought so too, but it doesn’t. When I dialog.show it just shows up in the middle but also closer to the top. Not sure why.

There’s no API to reposition dialogs as of now.

1 Like