Excel Addin transparent Dialog

31 Views Asked by At

I am implementing a loading dialog for Excel addin to let user know its in process, need to wait.

I have tried

Office.context.ui.displayDialogAsync("https://localhost:3000/#/dialog/loading",{
                width: 100,
                height: 100
            }, function (asyncResult: Office.AsyncResult<Office.Dialog>): void {
                
              })

But, it will total cover the excel, and I could not see any content under dialog.

While testing with Excel Online Copy link -> To Sheet, I am able to see below behavior.

enter image description here

How to achieve the same behavior in Excel addin?

1

There are 1 best solutions below

1
Rick Kirkham On

Set the background color of the dialog page to transparent. There's lots of good information about doing this at Transparent CSS background color