skip to Main Content

Office.js dialog taking up more space than specified in displayDialogAsync options – Javascript

I'm using Office.js to display a dialog in an Office add-in. I call the displayDialogAsync function like this: Office.context.ui.displayDialogAsync(`https://localhost:3000/notification.htmlmessage=${message}&icon=${icon}`,{ height: 10, width: 10, displayInIframe: true },function (asyncResult) { dialog = asyncResult.value; dialog.addEventHandler(Office.EventType.DialogMessageReceived, processDialogAlertMessage);}); However, the dialog that appears takes up…

VIEW QUESTION
Back To Top
Search