Open wilsonyqm opened 6 years ago
Let me take a look at it and get back to you.
As a side note, I solved a similar issue ( Office.context is not defined in the dialog because Office.initialize hasn't been called after the redirection) when running the addin on localhost with IE11. I removed the IE intranet specific behaviour on IE options:
I've followed this SO answer : https://stackoverflow.com/questions/48402730/office-js-displaydialogasync-not-working-correctly-in-word-online-on-ie
I have a workaround by removing placeholder AppDomain1(2,3) tags in the manifest.xml file.
we are implementing Excel Addin on all platforms, the dialog won't close on IE 11 only. The code goes to this line https://github.com/OfficeDev/office-js-helpers/blob/73e0df2dc392468a2576b94c9ebe94e52d62dcfe/src/helpers/dialog.ts#L189 Somehow it never called the
result
function on this line https://github.com/OfficeDev/office-js-helpers/blob/2e493dbba818aaaee10518e587c6fa86bcaf0bae/src/helpers/dialog.ts#L69 so the dialog isn't closed.we are using![wechatimg1](https://user-images.githubusercontent.com/9424989/38890633-d8696b7c-4236-11e8-8ea6-325b196191a7.jpeg)
OfficeHelpers.Authenticator().authenticate(provider)
to open the dialog, it didn't receive a result on this line https://github.com/OfficeDev/office-js-helpers/blob/a4e46bf3bc5e79b58da51c8d20749170a4d2d1d1/src/authentication/authenticator.ts#L151It was working before, it seems like the update on IE 11 recently on April 10th could break it.
Let me know if you guys have the same issue or need more info.