Make Office.context.ui.closeContainer() close the reading pane in compose mode on desktop outlook.
Office.context.ui.closeContainer() does not close the reading pane in compose mode on desktop outlook.
This is typically an issue when a user tries to forward or reply to an email using the reading pane. The user clicks our addin's "Send email and log" button.
Once the email is sent, the add-in calls: Office.context.ui.closeContainer() to close the draft email within the reading pane. However, nothing happens and no error is returned.
Which is confusing to the user.