-
Notifications
You must be signed in to change notification settings - Fork 47
Description
Hello everyone
I have some custom visuals that use IDialogHost api to display content in a dialog, as described in the official documentation here.
In my code, at certain points I use the following API call to close the dialog box programmatically:
this.host.close(DialogAction.Cancel);
This has always worked without issues (as long as you wait at least five seconds after the dialog has opened, as detailed in the docs, which I am).
However, recently we've been receiving support requests from users reporting that the dialog box in our visual did not close when they should. Initially this was limited to a few users in specific regions and we suspected some problem in our code or their browser, but it gradually spread and now it doesn't work for anyone.
I've tested the code, and I can confirm that the instruction gets called, and I don't get any errors or exceptions. This seems to be a generalized problem with this API, related to the Power Bi service itself.
Can anyone confirm if they're having this issue? Is there any known workaround?